Commit Graph

1168 Commits

Author SHA1 Message Date
Carsten Haitzler 485f1e2a6c I have cleaned up app instance trackign a little. it's a bit complex really,
but works better now, and e now falls back to lookign for startup info and
app instances etc. to try find an icon, and finally uses the icon provided by
the app itself (netwm icon only) :)


SVN revision: 16951
2005-09-26 09:13:44 +00:00
Carsten Haitzler e03d8aaf98 handle empty fields as if they are NULL. :)
SVN revision: 16942
2005-09-26 02:06:23 +00:00
Mike Frysinger 6e94a07501 looks like someone forgot they have to declare variables before using them
SVN revision: 16941
2005-09-25 22:04:20 +00:00
codewarrior d4ebde128e Add ability to focus a button in an E_Dialog by either its number or a
pointer to it.

When we click a button we need to send a focus signal to it.


SVN revision: 16940
2005-09-25 21:33:48 +00:00
sebastid e2c59a74bd memleak
SVN revision: 16938
2005-09-25 17:04:57 +00:00
sebastid 88f778038a Reset values if fetching icons fail.
SVN revision: 16937
2005-09-25 16:56:46 +00:00
sebastid 6a725bba35 Fix freeing of netwm icons.
SVN revision: 16936
2005-09-25 16:53:00 +00:00
sebastid bae370b31d New netwm icon api.
SVN revision: 16934
2005-09-25 16:43:34 +00:00
codewarrior 0b96f239cc Add glint effect to E_Dialog's button and add an "enter" signal for that.
SVN revision: 16932
2005-09-25 13:12:57 +00:00
Carsten Haitzler 29ee91dd3c eapp cache works - or well, should. it should update the caches if dirs
change contents or files change etc. etc. etc. theres also a cmd-line util
that can pre-generate caches for a directory or a dir tree for you :)


SVN revision: 16926
2005-09-25 04:58:18 +00:00
codewarrior de28ccb8ed Added e_entry smart. Not done yet, look at todo in e_entry.c
SVN revision: 16925
2005-09-25 03:28:18 +00:00
Carsten Haitzler 7dbb6fbe66 a start on the eap cache - it can load and save right now but not update once
saved. its disabled atm.

BUT i have reduced the data needing to be loaded at startup from opening 200
eap files totalling something like 6.5Mb of disk space used (though actual
loads will be less - likely), down to loading 1 file of about 7kb and doing a
stat or 2 on each file (my next phase is to remove the stat on startup here
and cache that info too, and then add in the code to have e slowly run over
the cache data and match it up against real life data and see if its still
valid or not etc. and write it out as well as make sure new caches are
written out whenever eapp dirs change, and then finally make a cmd-line tool
to do it per dir)


SVN revision: 16922
2005-09-24 17:25:48 +00:00
sebastid f4498d11a3 New modapi!
If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.


SVN revision: 16918
2005-09-24 13:42:05 +00:00
sebastid 8bb3ab7b52 Don't add extents if malloc fails.
SVN revision: 16915
2005-09-24 12:26:47 +00:00
sebastid b9c36f865d todo--
SVN revision: 16914
2005-09-24 12:25:03 +00:00
sebastid 01c8cb23ce A child should have the same layer as its parent.
todo--


SVN revision: 16913
2005-09-24 11:45:09 +00:00
Carsten Haitzler f2c5949ebb ja.po updates, suggestions taken on :)
SVN revision: 16911
2005-09-24 10:38:04 +00:00
Carsten Haitzler f43a1bec25 shift-tab to go back
SVN revision: 16910
2005-09-24 10:29:31 +00:00
Carsten Haitzler ff9208425a about fix - massimo :)
SVN revision: 16908
2005-09-24 09:16:22 +00:00
Carsten Haitzler 9063352d93 oh for gods sake! now all day was sunk into getting focus fixed for dialogs.
argh! i'll have to do the app cache after this... grrr....x


SVN revision: 16905
2005-09-24 09:04:39 +00:00
Carsten Haitzler 59e96236e8 dialogh keynav workign via evas grabs now instead.
SVN revision: 16901
2005-09-24 03:24:37 +00:00
sebastid 548eaf30d6 Urf.
SVN revision: 16900
2005-09-24 03:11:37 +00:00
sebastid 0c9265219a E codingstyle
SVN revision: 16899
2005-09-24 02:49:55 +00:00
codewarrior 98f2fa3399 Added tab / focus support to e_dialog's buttons.
SVN revision: 16896
2005-09-24 01:59:26 +00:00
sebastid 713810d7f0 gadman padding.
SVN revision: 16890
2005-09-23 23:40:45 +00:00
sebastid 2c2f9e3f5d Check netwm type when we want to check if a window is a dialog. Fetch netwm
window type if a window has a transient. If the app hasn't set window type
it will set it to dialog.

Maybe check if some apps set wrong netwm window type?


SVN revision: 16880
2005-09-23 18:58:35 +00:00
sebastid d22fe46e46 Set correct title.
SVN revision: 16877
2005-09-23 17:54:43 +00:00
sebastid 74f0aa00c7 Move module api check to module loader.
SVN revision: 16873
2005-09-23 17:13:47 +00:00
sebastid 9a7ca24ad5 Make dialog windows transient, so that they are recognized as dialogs.
SVN revision: 16872
2005-09-23 16:27:29 +00:00
Carsten Haitzler df07e38102 resize handling patches from martin
SVN revision: 16870
2005-09-23 15:47:18 +00:00
sebastid 7c7cd5e8bd Don't manually place dialogs.
SVN revision: 16868
2005-09-23 15:04:19 +00:00
Carsten Haitzler 52bd75f289 handlke popup context too :)
SVN revision: 16863
2005-09-23 06:31:33 +00:00
sebastid 1849a6ce39 Stacking is confusing, should be fixed
SVN revision: 16859
2005-09-23 00:47:35 +00:00
sebastid decdc33c2f Remove debug
SVN revision: 16856
2005-09-22 22:37:42 +00:00
sebastid e769378406 BUG!
SVN revision: 16855
2005-09-22 22:36:33 +00:00
sebastid f5ddf29d5e focus window on manual placement
SVN revision: 16854
2005-09-22 20:40:11 +00:00
sebastid d0cb4b111a Config for wheel and signal bindings.
NEW CONFIG VERSION!!


SVN revision: 16853
2005-09-22 20:20:34 +00:00
Dan Sinclair 9288298ae8 - move the common code to a function in the e_modules file.
SVN revision: 16851
2005-09-22 18:17:18 +00:00
sebastid bcce7a8bce Manual placement
SVN revision: 16850
2005-09-22 17:10:02 +00:00
Carsten Haitzler 1a08602ddf right mouse on resize handles moves - as per old e16 :)
SVN revision: 16849
2005-09-22 16:40:16 +00:00
Carsten Haitzler 3c9e205fdb signal bindings.!!!! this means you can completely rebind every event and
action on a window border theme/design to do what you want. the theme doesnt
determine this anymore. as with wheel bindings it still isnt exported to
config fiels and ipc yet, but the functionality is done.


SVN revision: 16848
2005-09-22 16:36:59 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00
Carsten Haitzler a4a1b70a8e begone!
SVN revision: 16842
2005-09-22 08:21:34 +00:00
Carsten Haitzler 7b2b817be9 fore now themes about menu is betetr there in the themes submenu
SVN revision: 16841
2005-09-22 08:05:15 +00:00
sebastid f4bb8b5311 A sticky border should be visible
SVN revision: 16840
2005-09-22 07:36:47 +00:00
Carsten Haitzler 0dc60ba522 theme about box! all themes can add their own now! :)
SVN revision: 16839
2005-09-22 05:52:37 +00:00
sebastid 3ca4c4e2ae Utility functions to find the border above and below the current on a desk.
SVN revision: 16831
2005-09-21 18:02:04 +00:00
sebastid 13ed74ed46 Don't free objects, delete them
SVN revision: 16830
2005-09-21 17:54:19 +00:00
sebastid a5ceed4fb6 Don't allow to shade/unshade while shading.
SVN revision: 16826
2005-09-21 15:54:02 +00:00
Carsten Haitzler 6375b62f0f clean up canvas show - uncessesary exposure there. fixed.
SVN revision: 16824
2005-09-21 04:53:12 +00:00
sebastid 3ee7af9772 Remove unused variables
SVN revision: 16816
2005-09-20 18:22:01 +00:00
sebastid 06caedb714 Fix supported atoms.
SVN revision: 16808
2005-09-20 17:09:56 +00:00
handyande d43caa82cc indenting and make some of the border space be 'inter icon' ;)
SVN revision: 16801
2005-09-20 14:51:09 +00:00
codewarrior c877698d48 * data/themes/default_configure.edc
- Rename edc parts to widgets/configure/*

* src/bin/e_configure.c:
  - turn E_Configure into a real object

* src/bin/e_configure.h:
  - turn E_Configure into a real object, add missing #else


SVN revision: 16800
2005-09-20 13:12:25 +00:00
Carsten Haitzler 2f61c04990 add hilights (looks nicer with the sun)
SVN revision: 16793
2005-09-20 11:02:48 +00:00
handyande f3e8b3d82d More about fixes
SVN revision: 16792
2005-09-20 11:00:43 +00:00
Carsten Haitzler 04f7962e03 typo
SVN revision: 16791
2005-09-20 10:53:50 +00:00
Carsten Haitzler aa5603e16e oops- max size set too
SVN revision: 16789
2005-09-20 10:36:35 +00:00
Carsten Haitzler 06588b86dc cleanups
SVN revision: 16788
2005-09-20 10:35:26 +00:00
Carsten Haitzler 5f20ecfdfd oops - typo
SVN revision: 16787
2005-09-20 10:20:34 +00:00
Carsten Haitzler ca5f3fa36c move logo somewhere nicer - centered, more symmetry. more text in about. no
mroe aardvaarks :(


SVN revision: 16786
2005-09-20 10:19:18 +00:00
codewarrior 3a6ec75c22 * data/themes/default_configure.edc:
- add min: 1 1; to text parts so they can control the edje's size.

* src/bin/e_configure.c:
  - better calculation of the min sizes for icons / window.


SVN revision: 16785
2005-09-20 09:45:08 +00:00
Carsten Haitzler 0e96fd5484 nice new about box... fully themable. :)
SVN revision: 16782
2005-09-20 08:34:23 +00:00
Dan Sinclair b56a8b947b - make the cursor placement code keep the window fully onscreen
SVN revision: 16779
2005-09-20 05:14:57 +00:00
codewarrior efc366c29e * src/bin/e_configure.c:
- Decreased icon size
  - Added base / min size calculation for window (not perfect as it doesnt
    take into consideration the title inside the window)

* src/bin/e_int_menus.c:
  - We dont need to exit E when we choose a theme. Avoid showing the exit
    dialog by doing a restart instead of an exit / start.


SVN revision: 16777
2005-09-19 23:55:44 +00:00
handyande 2fa6399b5c OK, so 'configuration_panel' is too long => 'config_panel'
SVN revision: 16774
2005-09-19 16:02:16 +00:00
handyande 6962ca9292 Allow showing the configuration panel over IPC
SVN revision: 16771
2005-09-19 15:41:42 +00:00
handyande 35fb0c7192 Move config menu to config panel as planned
frees need more work :(
icon texts are getting cropped, not knowledgable enough to fix I think


SVN revision: 16769
2005-09-19 15:25:23 +00:00
Carsten Haitzler 039595690b prettier dialog
SVN revision: 16768
2005-09-19 13:08:17 +00:00
Carsten Haitzler f659f05b55 fix box expand/fill
SVN revision: 16767
2005-09-19 12:55:59 +00:00
Carsten Haitzler da7300c038 exit and restart actions. are you sure exit dialog. :)
SVN revision: 16765
2005-09-19 10:52:45 +00:00
Carsten Haitzler abba9ff511 and dialogs handle icons in the main bit now too
SVN revision: 16764
2005-09-19 07:02:35 +00:00
Carsten Haitzler 52cdf15243 1. handle fixed size parts and mark them so edje doesnt complain, and dialog
looks nicer now with icons in buttons (if desired)


SVN revision: 16762
2005-09-19 06:55:35 +00:00
Carsten Haitzler 146ffd74d9 oopsie - fix gadman zone fetch res match
SVN revision: 16759
2005-09-19 04:28:22 +00:00
Carsten Haitzler 270f1a73e2 remove test code
SVN revision: 16748
2005-09-18 06:30:19 +00:00
Carsten Haitzler 48ab5a3723 edje +tb2 now usinged in e17
SVN revision: 16746
2005-09-18 06:27:47 +00:00
Carsten Haitzler 95d396e643 that's not a write op!
SVN revision: 16729
2005-09-15 23:23:26 +00:00
Carsten Haitzler 1afc17d459 patches, stuff...
SVN revision: 16724
2005-09-15 06:25:28 +00:00
Carsten Haitzler 94123d1802 printf--
fix config.h thing so e doesnt break :)


SVN revision: 16722
2005-09-15 03:11:08 +00:00
Carsten Haitzler b843e07605 ok - this is BIZARRE... BUT. if we remove config.h from e.h - e starts
segfaulting in ALL sorts of weird places. totally bizarre! put config.h back
in.


SVN revision: 16721
2005-09-15 01:39:11 +00:00
Dan Sinclair 02a815f78a - remove config.h from e.h and put it into the .c files that need it.
e.h is an installed header so modules can be written outside the e tree.
  config.h isn't installed by e. so, if the module dosen't have a config.h
  and the local directory in their include path the build will fail.


SVN revision: 16719
2005-09-14 20:19:44 +00:00
Carsten Haitzler 07f6885df7 use startup notify... see ibar in default.
SVN revision: 16708
2005-09-14 06:39:59 +00:00
handyande ce45d0f7c5 don't need to clean twice
SVN revision: 16705
2005-09-13 10:12:21 +00:00
Dan Sinclair 3dc4584f68 - add the ability to change the initial window placement policy. currenlty
the default smart placement and place under cursor are available.

- configurable through enlightenment_remove -window-placement-set/get


SVN revision: 16702
2005-09-13 05:19:25 +00:00
sebastid b8359bedb4 Remove debug.
SVN revision: 16662
2005-09-07 15:48:48 +00:00
sebastid 5e4e707536 Merge Raise/Lower event to Stack event.
Fix raise/lower order.


SVN revision: 16661
2005-09-07 14:55:46 +00:00
sebastid eaa146e8af Set desk after unstick event.
SVN revision: 16642
2005-09-07 04:45:35 +00:00
sebastid 50ffcee9df All elements must be NULL if we're not going to check.
SVN revision: 16632
2005-09-07 01:15:40 +00:00
sebastid 3aa5585ab6 Typo.
SVN revision: 16617
2005-09-06 05:58:45 +00:00
sebastid bd26872690 Merge desktopname into pager
SVN revision: 16614
2005-09-06 05:19:15 +00:00
sebastid 46d242a22e Delete animator on border free.
SVN revision: 16606
2005-09-06 00:23:39 +00:00
rephorm 8356b338e9 Add desktop name to the pager (turn it on in the pager's config menu).
The theme could probably use a bit of touch up, but it works for now :)

Add an event when desktop names change.
Note: currently 'adding' a name with enlightenment_remote sends out change events for ALL of the desktops (even the ones that didn't change). This should be fixed...


SVN revision: 16604
2005-09-05 23:14:58 +00:00
sebastid ce0cc748c9 Make modal windows optional. Is it a good config name?
SVN revision: 16599
2005-09-05 21:46:56 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
sebastid 3661b05017 * Show border on uniconify
SVN revision: 16514
2005-09-04 00:51:06 +00:00
sebastid c4276501e0 Remeber group leader for transient windows.
SVN revision: 16483
2005-09-03 12:05:51 +00:00
sebastid f79cf5cfb9 TODO
SVN revision: 16474
2005-09-03 00:00:54 +00:00
sebastid 3dd767f7da * Make sure that the window isn't transient for itself.
* If the window is transient for it's groups leader, don't register
  as a group member.


SVN revision: 16472
2005-09-02 21:23:39 +00:00
sebastid de2f972d16 * Windows can be transient and be part of a group
* Check for recursive focus


SVN revision: 16471
2005-09-02 21:06:57 +00:00
Dan Sinclair 9ee3373852 the _ should be there, just need to move the )
SVN revision: 16468
2005-09-02 17:51:34 +00:00
jcwong 9fe4d12b87 minus "_"
SVN revision: 16465
2005-09-02 14:22:17 +00:00
sebastid aa2bb0d2b3 * Add missing prototypes.
* Store client_leader info.
* Honour modal windows for group.


SVN revision: 16464
2005-09-02 09:56:01 +00:00
sebastid 25d9b5bba7 Honour modal windows.
SVN revision: 16463
2005-09-02 09:25:53 +00:00
sebastid f5e90c9069 Update cursor size.
SVN revision: 16462
2005-09-02 08:28:12 +00:00
sebastid 2291bf5d54 These shouldn't activate on already existing borders.
SVN revision: 16461
2005-09-02 08:17:29 +00:00
sebastid d30da0bf8e * Add options
-	e_config->transient.move
-	e_config->transient.resize
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Implement
-	e_config->transient.raise
-	e_config->transient.lower
-	e_config->transient.layer
-	e_config->transient.desktop
-	e_config->transient.iconify
* Show hide border in e_border_desk_set
* Add e_border_layer_set()


SVN revision: 16460
2005-09-02 07:38:40 +00:00
sebastid 9af2046985 * Check and remember WM_TRANSIENT_FOR relationships.
* Only check if bd->client.icccm.transient_for is set,
  bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DIALOG is only for
  decorations.
* When a border is raised, raise it's children above it.
* Should this behaviour be userdefineable?


SVN revision: 16459
2005-09-02 06:15:57 +00:00
sebastid 7c22096a66 Remove some compiler warnings.
SVN revision: 16441
2005-08-31 04:49:05 +00:00
sebastid 2c185b6888 Make sure that the border isn't deleted if we do an internal hide.
SVN revision: 16440
2005-08-31 04:41:48 +00:00
sebastid ef9b5bd806 If we want to center a e_win, and it has a border, move it.
SVN revision: 16427
2005-08-30 10:42:47 +00:00
sebastid 9bcb2c5c1a Don't send netwm ping unless e_config->ping_clients is set.
SVN revision: 16423
2005-08-30 05:17:38 +00:00
rbdpngn 58c415404f Set the maximization policy to allow for toggling in all modes.
SVN revision: 16420
2005-08-30 04:33:27 +00:00
sebastid 6f9da0f43c Only be restricitive with actions when using fullscreen maximize.
SVN revision: 16419
2005-08-30 03:22:55 +00:00
sebastid b0c8995e17 Allow to go from maximized to fullscreen and vice versa.
SVN revision: 16418
2005-08-30 03:18:34 +00:00
sebastid eba7ac0ccd After shading move the client window to the original pos. Else the window
will move on restart.
Before unshading move the window to a starting pos.


SVN revision: 16417
2005-08-30 02:50:21 +00:00
sebastid 3f0262ad0b Indent.
SVN revision: 16416
2005-08-30 02:19:47 +00:00
sebastid 5e0e894c3c Code outside of e_border shouldn't care if we use icccm or netwm name.
SVN revision: 16415
2005-08-30 01:42:56 +00:00
sebastid ce95056320 Add convenience functions for settings layer and sticky.
Support internal states, and add centered state.
Add object paranoia check.


SVN revision: 16413
2005-08-30 01:16:48 +00:00
sebastid af4803ee85 Support internal state hints.
SVN revision: 16412
2005-08-30 01:15:25 +00:00
sebastid 9af397cca9 Add internal atom for state, and centered state.
SVN revision: 16411
2005-08-30 01:13:32 +00:00
sebastid c51ae6b1c5 Fix pager stacking issue. Maybe we should have a general stack event
instead of lower/raise?


SVN revision: 16408
2005-08-29 23:43:58 +00:00
sebastid 9f01af5e1d Honor lock flags in e_hints.c
SVN revision: 16406
2005-08-29 23:04:21 +00:00
Carsten Haitzler d9f6c78904 make cursors 32x32.
SVN revision: 16392
2005-08-28 15:30:58 +00:00
sebastid 70636ff947 Remove debug comment.
SVN revision: 16382
2005-08-27 10:17:59 +00:00
Carsten Haitzler 95f1a244d7 dont call save on module if it isnt enabled yet
SVN revision: 16371
2005-08-26 10:24:15 +00:00
Carsten Haitzler cef4964c8d handle unfound stepping :)
SVN revision: 16370
2005-08-26 10:00:27 +00:00
sebastid 1df25cb0b8 Don't show sep when no augmentation.
SVN revision: 16351
2005-08-25 17:14:00 +00:00
sebastid 51fe7eadaa Confirmation dialod for randr.
SVN revision: 16347
2005-08-25 15:59:53 +00:00
sebastid 4850357e65 Move setting of man->num, and fix stupid e_manager_number_get()
SVN revision: 16341
2005-08-25 13:48:32 +00:00
sebastid 11ab95e14b Move func to right place. All lookup functions returning a Container
should be in e_container.


SVN revision: 16340
2005-08-25 13:41:26 +00:00
Carsten Haitzler 66b989bc33 1 more todo item...
SVN revision: 16329
2005-08-25 07:42:44 +00:00
sebastid ba1d75580a Enable randr by default.
SVN revision: 16323
2005-08-24 22:29:30 +00:00
sebastid 6130f4ccec We need to open with global. Else embrace module wont work, since it
opens its own modules.


SVN revision: 16318
2005-08-24 21:25:06 +00:00
Carsten Haitzler 120960c191 rename pointer images, different edje group names (better namespace i guess),
rationalise pointer usage down to 1 for init, 1 for everything else.


SVN revision: 16304
2005-08-24 04:22:52 +00:00
sebastid d4c6859178 Move randr module from gadget to submenu in main menu.
SVN revision: 16298
2005-08-23 10:26:44 +00:00
troback ff2e533923 Swedish added.
SVN revision: 16295
2005-08-23 07:20:25 +00:00
sebastid 990737543f If the aspect is to large, change the width.
SVN revision: 16294
2005-08-23 06:52:42 +00:00
Carsten Haitzler 8167cf314e handle circulates
SVN revision: 16293
2005-08-23 03:50:02 +00:00
sebastid e17deaedff If the aspect is wrong, never increase the size of the window.
SVN revision: 16285
2005-08-22 15:46:14 +00:00
sebastid 72f9486b05 Don't call ecore_main_loop_quit in a callback, delay.
SVN revision: 16284
2005-08-22 14:51:36 +00:00
sebastid 55f7d4b870 Load randr module
SVN revision: 16283
2005-08-22 14:23:38 +00:00
sebastid 14d3764b39 Load ibox in new config.
SVN revision: 16282
2005-08-22 14:23:02 +00:00
Carsten Haitzler 922c05ee14 TODO
SVN revision: 16271
2005-08-22 08:42:33 +00:00
Carsten Haitzler 24ea0643bd no 2nd stack - fucks things up.
SVN revision: 16267
2005-08-22 06:36:20 +00:00
Carsten Haitzler b7caf97fd3 auto scroll menu controls
SVN revision: 16266
2005-08-22 05:50:49 +00:00
Carsten Haitzler 92051d163c fix maximize on map
SVN revision: 16264
2005-08-22 04:16:25 +00:00
Carsten Haitzler cd285a1a9b use focus model stuff properly
SVN revision: 16262
2005-08-22 03:22:46 +00:00
sebastid 5519da900c More work on themeable cursor.
SVN revision: 16261
2005-08-21 23:37:28 +00:00
sebastid c9d59d2da3 Honour lock flags.
SVN revision: 16260
2005-08-21 23:36:07 +00:00
sebastid e7eec22e11 Cleanup.
If maximize doesn't remember that it is maximized, unset the hints.


SVN revision: 16259
2005-08-21 23:35:09 +00:00