Commit Graph

3113 Commits

Author SHA1 Message Date
Carsten Haitzler 684da81271 limit scroll so you dont go off the ends
SVN revision: 23950
2006-07-15 17:10:12 +00:00
Carsten Haitzler 6c4b19d5d0 workign on efm2... kind of workign at the basics now...
SVN revision: 23949
2006-07-15 16:29:14 +00:00
Christopher Michael da9348e584 Check widget can now do icons like radio button.
Should make it possible to eliminate bug in screen res dialog now.


SVN revision: 23945
2006-07-15 14:59:51 +00:00
Carsten Haitzler 33567d9f56 dan's patch for maximize bug! fix! :)
SVN revision: 23920
2006-07-14 20:01:48 +00:00
Carsten Haitzler 9fc7c4ad64 fix bin/lib prefix - pass as -D
SVN revision: 23874
2006-07-13 16:35:46 +00:00
Carsten Haitzler c7a02b017b splash config works now...
SVN revision: 23847
2006-07-11 18:57:13 +00:00
Carsten Haitzler eedd9caa06 encode thumb requested size into thumb filename (so if you ask for thumbs at
different sizes u get different files). the SUGGESTION is to ALWAYS create
things at a standard size (should make that a config item) unless you have
very special needs.


SVN revision: 23824
2006-07-10 19:37:02 +00:00
Carsten Haitzler 3c612bf4e8 fix segv on desklock unlock (valgrind caught it) :)
SVN revision: 23823
2006-07-10 19:33:00 +00:00
Carsten Haitzler 3f02b70103 we're being blatant about path size.. 4096 should be enough... :)
SVN revision: 23808
2006-07-10 16:38:48 +00:00
Carsten Haitzler f785b8f7cf e prefix black magic additions. this is really black magic now...
SVN revision: 23807
2006-07-10 16:37:52 +00:00
Carsten Haitzler 6061e12844 asparagus time!
SVN revision: 23778
2006-07-09 18:35:57 +00:00
Christopher Michael 6e46f259a4 Destroy gadgets menus when we unpopulate. Removes bug from todo concerning
menu for gadgets.


SVN revision: 23766
2006-07-08 18:17:53 +00:00
Carsten Haitzler 6472a3392a mkdir only if thumb too lod/not exists
SVN revision: 23761
2006-07-08 16:31:44 +00:00
Carsten Haitzler 5fc0c33867 nix libe.so and the preload stuff. just remove fromt eh build tree (But keep
in cvs)


SVN revision: 23758
2006-07-08 14:54:41 +00:00
Carsten Haitzler 0d57bcd376 shutdown thumbs properly
delat killing slave thumbnailers for 1 second after all thumbs pending are
finished (in case more get added soon)


SVN revision: 23755
2006-07-08 13:53:55 +00:00
Carsten Haitzler 71f3865361 slightly more responsive timer and reset object id's once there are none
around :)


SVN revision: 23754
2006-07-08 13:30:18 +00:00
Carsten Haitzler 2bf3acac8b actually see the delete req in the thumbnailer
SVN revision: 23753
2006-07-08 13:12:42 +00:00
Carsten Haitzler 50063cad9c new thumbnailer system. works a bit more like epsilon - launches a
special-purpose executable and hands off workd to do via ipc (well the exe
connects back to e's ipc port actually but either way - same thing). it can
actually launch any numebr of thumbnailers - the default is 2, but this means
it can make full use of smp systems. i need to make this # of thumbnailers
configurable and add a config dialog for it. this does mean thew bg/theme
etc. dialogs pop up much faster as they dont load all the thumbs to start -
its farmed off and ipc tells us when they are ready (and if already generated
- thats pretty damn fast). :) anyway - now thumbnailing works reliably
(thoguh i think the queue handling isnt quite that good - well when it comes
to interacting with efm... but i'll check into that later. dont worry though
- it does actually generate all the thumbs - it just may be busy generating
ones you don't see while it catches up).


SVN revision: 23750
2006-07-08 09:18:04 +00:00
Carsten Haitzler 12f620b919 formatting and kiwis thumbnailer fix - not entirely fixed tho
SVN revision: 23728
2006-07-06 06:16:21 +00:00
Christopher Michael 9911cc4fc3 Fix module api warning dialog. The params were switched. Should read better
now.


SVN revision: 23723
2006-07-05 21:23:42 +00:00
Carsten Haitzler 06d5e86fae really - ignore is pointless. restart or exit now.
SVN revision: 23722
2006-07-05 19:38:59 +00:00
Christopher Michael b64ab835e6 Little more frame size tweaking for languages other than English so that
converted strings fit nicely in the frame titles, and the 2 frame titles
don't overlap.


SVN revision: 23718
2006-07-05 00:06:32 +00:00
Christopher Michael 7a9413a679 Increase the width of the resolution list a bit as with languages other than
English, it's possible for the translations of strings to make the to
framelist titles overlap.


SVN revision: 23716
2006-07-04 23:40:38 +00:00
Carsten Haitzler cda26e2af7 ipc socket setup will be much more robust now. relies on E_IPC_SOCKET
environment var (but every subprocess of e should inherit this - like DISPLAY).


SVN revision: 23714
2006-07-04 18:36:29 +00:00
Carsten Haitzler 349071a114 default import 90% lossy quality - MUCH smaller than before. and almost as
good. shoudl become an optin actually.


SVN revision: 23700
2006-07-03 19:04:00 +00:00
Carsten Haitzler fcd8b2e28f exceed has different behvior with the shape extn - it provides a rect for the
window shape regardlss if the shape was set or not.


SVN revision: 23689
2006-07-03 12:45:16 +00:00
Carsten Haitzler 3e561f3aab making cpufreq suidroot is optional and souldnt kill the build :)
SVN revision: 23686
2006-07-03 08:32:16 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
Carsten Haitzler 21b68f1e73 asparagus time...
SVN revision: 23679
2006-07-03 04:08:47 +00:00
Christopher Michael cfcb069c8f If we Do have the eap, then we can set the dialog icon to it.
SVN revision: 23666
2006-07-02 19:34:51 +00:00
Christopher Michael 98336582fa This is slightly better, allows for passing module as NULL, and still
getting a generic module_dialog.


SVN revision: 23664
2006-07-02 19:25:34 +00:00
Christopher Michael 17475003db Module about dialogs now show the module icon in the dialog, and the border.
Note: This breaks e_modules until I get them fixed.


SVN revision: 23660
2006-07-02 18:55:33 +00:00
Carsten Haitzler 165f5f2309 bug in xrandr - workaround.
SVN revision: 23659
2006-07-02 17:47:44 +00:00
Carsten Haitzler e2222e18c7 add icons for randr rotation and flipping
SVN revision: 23658
2006-07-02 17:25:18 +00:00
Christopher Michael 4bb372ad2d Give ability for config dialogs to set their border icon to the proper
config icon, rather than all having the E logo. Is proactive about setting
this: if it does not find or cannot set to that icon, it will fallback to
the E icon.

Change all config dialogs to support this.

If we have an internal border (config dialogs), disable the Create Icon/Edit
Icon menu items.


SVN revision: 23655
2006-07-02 16:19:51 +00:00
doursse b962d733e4 return 0 when config dialog is NULL
SVN revision: 23651
2006-07-02 14:34:42 +00:00
Carsten Haitzler 637b665ddc adding polish to e17's icons... well a bit more. if anyone who can't code -
but can draw well... feel free to want to contribute with nice icons (nb -
keep them neutral so they look good almost anywhere)


SVN revision: 23648
2006-07-02 12:51:57 +00:00
Carsten Haitzler e47dd58ba0 as key bindings are really global things, context isnt that useful (at the
moment). :)


SVN revision: 23647
2006-07-02 11:05:59 +00:00
Carsten Haitzler 021cdfacd6 ram's fullscreen action patch and laurent's small radiobutton patch for send
to desktop menu


SVN revision: 23645
2006-07-02 06:57:38 +00:00
Carsten Haitzler a593b42576 remove openembedde pkg info - old and dead
SVN revision: 23615
2006-06-28 07:20:18 +00:00
Christopher Michael 749194cee8 Some minor formatting.
SVN revision: 23594
2006-06-27 00:59:18 +00:00
Christopher Michael f044210059 Fix some very serious formatting issues with this one.
Renamed a couple of functions, but other than that, no functional changes,
just formatting.


SVN revision: 23593
2006-06-26 16:42:49 +00:00
xcomputerman 2bad0081c3 Usability++;
(Put some useful items in the config menu)


SVN revision: 23582
2006-06-25 08:59:32 +00:00
Christopher Michael 79b5de57c4 Changed Delete Shelf dialog icon to be the E logo, not the exit icon.
SVN revision: 23554
2006-06-23 07:20:24 +00:00
Christopher Michael 447a00317e Removed the recently added evas_list_free calls as they caused segfaults
when removing last selected gadget.


SVN revision: 23545
2006-06-23 04:32:44 +00:00
Christopher Michael 52455b603e Free the evas_lists when we are done loading the gadget lists.
SVN revision: 23540
2006-06-22 20:41:54 +00:00
Christopher Michael ab2a2d01f1 No need to call save_queue on module unload, e_module_disable already calls
it.


SVN revision: 23539
2006-06-22 20:20:16 +00:00
Christopher Michael 1164201a9c Small bug fix in modules config dialog.
-When enabling a module, if e_module_enable fails, set proper state
and get out. Also, do not set cm->state = MOD_ENABLED unless the enable was
actually successful.
    -When disabling a module, only set state to UNLOADED if e_module_disable
worked.


SVN revision: 23538
2006-06-22 20:17:23 +00:00
Carsten Haitzler 10b221a1f2 call clearcache on entering idle
SVN revision: 23533
2006-06-22 19:21:13 +00:00
Christopher Michael 35b18b2704 Fix typo, thanks Mo0m :)
SVN revision: 23532
2006-06-22 19:02:17 +00:00
Christopher Michael 22ae46cb26 Lots of fixes for shelf contents config dialog:
- No more "ghosted" list items when removing from the Selected List.
     - Localized the loading of available/selected gadgets to cut down code duplication.
     - General code cleanup (remove extra comments)


SVN revision: 23531
2006-06-22 18:47:19 +00:00
Carsten Haitzler 706c846e92 bug--
SVN revision: 23510
2006-06-20 13:10:08 +00:00
Carsten Haitzler 609a510a21 maxime's leak fix patches
SVN revision: 23508
2006-06-20 11:35:15 +00:00
Carsten Haitzler 0d4723e3b7 fix kde/qt iconic startup bug
SVN revision: 23505
2006-06-19 19:29:31 +00:00
Carsten Haitzler c025903109 indenting
SVN revision: 23501
2006-06-19 17:13:56 +00:00
Carsten Haitzler 45de1acfed printf--
SVN revision: 23499
2006-06-19 15:22:05 +00:00
Carsten Haitzler 642ac622ea fix border bugs on fullscreen and maximize fullscreen actions
SVN revision: 23498
2006-06-19 15:16:37 +00:00
Carsten Haitzler 0a058bfdb3 avoid damage on popups
SVN revision: 23489
2006-06-18 02:19:05 +00:00
Carsten Haitzler c80a395ab3 disable object paranoia for now and an extra null check for gadcon
SVN revision: 23488
2006-06-18 02:07:14 +00:00
Carsten Haitzler 1d01d8d334 no loops.
SVN revision: 23482
2006-06-17 03:29:54 +00:00
Carsten Haitzler 923fbd6731 dont need the function either and null setting isnt needed too
SVN revision: 23481
2006-06-17 03:10:54 +00:00
Christopher Michael 2804df49da Shelfs config dialog (the list of shelves) really doesn't need the Ok/Apply
buttons, just a close button.


SVN revision: 23474
2006-06-16 16:36:32 +00:00
Carsten Haitzler 704866a4e1 todo....
SVN revision: 23459
2006-06-16 09:37:32 +00:00
Carsten Haitzler c2d5976dc4 handle resolution changes much mroe gracefully for windows - temporarily
resize/move but store their info BEFORE res change and always TRY and restore
it until an app or u ser asks to move/resize a window explicitly (if you
leave them alone they will be happy)


SVN revision: 23457
2006-06-16 08:50:42 +00:00
Carsten Haitzler 0c8af50544 new basic mode shelf config - simpler with "pre-defined" recipies - this
should stop people asking stupid things like "how can i get gadgets on the
desktop" as its a 1 click option. things like "they look like shit - cokie
cutter" are hidden so silly peolpe who dont listen to advice and dont select
below everything - have it selected for them. don't like the basic set of
options given - use advanced to fiddle to your hearts content.


SVN revision: 23456
2006-06-16 08:20:36 +00:00
Carsten Haitzler b36a6cbe12 formatting todo etc.
SVN revision: 23455
2006-06-16 06:05:41 +00:00
Carsten Haitzler f86fb10a09 more props!
SVN revision: 23454
2006-06-16 04:16:13 +00:00
sebastid bd4da9e87c free mem when fetching new info
NULL checks


SVN revision: 23451
2006-06-15 19:27:27 +00:00
Christopher Michael 63a5ae8fd5 Fix shelf list size. When loading the list, using min_size_get would return
a list size that caused the add/del/configure buttons to overlap the ilist
frame.


SVN revision: 23450
2006-06-15 19:17:58 +00:00
Viktor Kojouharov a01e7f53fd added borderless toggle as an action
SVN revision: 23448
2006-06-15 14:21:35 +00:00
Carsten Haitzler 3986e8d184 patch from laurent for displaying shelf orientation in dialog (made the icons
smaller too)


SVN revision: 23447
2006-06-15 13:09:21 +00:00
Carsten Haitzler 01ffb0e77b fix stop editing menu
SVN revision: 23445
2006-06-15 07:41:51 +00:00
Carsten Haitzler 7ea19245d7 todo-- :)
SVN revision: 23444
2006-06-15 07:24:10 +00:00
sndev f7098c09d1 We donnot need ok/apply buttons in the "shelf contents" config dialog since the
dialog directly operates on the gadcon client list. Therefore, if gcc is add and
the dialog just closed then we have an inconsistency until the gcc will be
unpopulated-populated. Moreover, thats much nicer from the UI point of view.


SVN revision: 23440
2006-06-14 18:43:07 +00:00
Carsten Haitzler 734e41b598 part of mmap/eet changes patch
SVN revision: 23414
2006-06-13 10:20:31 +00:00
Carsten Haitzler 8875cab661 a missing _
! :) fix.


SVN revision: 23412
2006-06-13 09:05:36 +00:00
Carsten Haitzler 289bae4298 add a description for shade toggle, and some default key bindings for screen
flip (ctrl+shift F1-F4 for the first 4 screens, and ctrl+shift left/right
arrow for flipping up and down).


SVN revision: 23409
2006-06-13 08:26:57 +00:00
Christopher Michael 84a0afbc45 Fix formatting for a function. Conforms to E formats now.
SVN revision: 23397
2006-06-12 10:21:18 +00:00
Viktor Kojouharov 6d7837ed80 the 3 buttons in the file dialog now point somewhere.
SVN revision: 23393
2006-06-12 07:19:03 +00:00
Carsten Haitzler a55c4197b4 still a bug with maximize & borders :) and fix a segv that has cropped up -
really silyl one too! also fix some object ref/del stuff


SVN revision: 23392
2006-06-12 06:38:50 +00:00
sebastid a5aaf5cc93 Add a flag for borderless, don't change the name directly.
SVN revision: 23391
2006-06-12 05:17:10 +00:00
Carsten Haitzler 3ed15b3abb dont uselessly repopulate
SVN revision: 23390
2006-06-12 03:50:51 +00:00
sebastid c0d209b195 If an app is added to applications/all, rescan all .order files to check
if they want to reference this app.


SVN revision: 23385
2006-06-11 19:30:11 +00:00
Carsten Haitzler f8c6092553 1. autofoot patches.
2. fix maximize to work again. :)


SVN revision: 23375
2006-06-11 10:23:49 +00:00
codewarrior 93b8876596 this stuff only works with glibc, bsds compile now
SVN revision: 23371
2006-06-10 23:32:50 +00:00
sebastid 99b37daf82 Focus modal windows if any group member is focused.
SVN revision: 23370
2006-06-10 22:05:50 +00:00
sebastid aec7cc719f Focus transient and modal windows if parent is focused.
SVN revision: 23369
2006-06-10 21:59:08 +00:00
sebastid 6dd4c5f0fb Handle changes in transient_for and client_leader after map.
SVN revision: 23368
2006-06-10 21:45:43 +00:00
sebastid c0239767ba Some netwm states can change the border, like modal.
SVN revision: 23367
2006-06-10 21:10:14 +00:00
sebastid 07a06fa4ab Disable paranoia again
SVN revision: 23366
2006-06-10 21:02:58 +00:00
sebastid 88973ff89c Make hints who want to change the border set border.name = NULL, and move
tests for border.name to client.border.changed test.
If a border changes and the border is shaded, remember the change and apply
it when the border no longer is shaded.


SVN revision: 23365
2006-06-10 21:02:23 +00:00
sebastid f689a89e1b CVS is for keeping log of old stuff :)
SVN revision: 23364
2006-06-10 19:40:15 +00:00
sndev 107ffca169 * improvment of the restoration of the window maximization on E restart.
SVN revision: 23350
2006-06-10 11:08:27 +00:00
sndev 9214573340 * improving maximization behavior. i.e. if the window is maximized vertically,
it is not denied to maximize it horizontally.
* fixing some mess between basic/advanced window manipulation cfg dialogs.
* fixing initial keybindings.


SVN revision: 23335
2006-06-09 22:15:11 +00:00
handyande 204de3261d segv--
SVN revision: 23331
2006-06-09 12:53:27 +00:00
Christopher Michael d765e4452c Auto-apply is disabled in E for now but default mode still works.
Make sure we set the proper e_config value in apply.


SVN revision: 23323
2006-06-09 08:09:56 +00:00
rephorm 5d302028b7 don't allow ilist headers to be selected
SVN revision: 23319
2006-06-09 02:53:16 +00:00
sebastid 69b119f360 Remove unused variable
SVN revision: 23306
2006-06-08 19:35:39 +00:00
sebastid 0b4be04a65 Remove undefined function
SVN revision: 23305
2006-06-08 19:33:45 +00:00
sebastid 5f49dafee8 Add const
SVN revision: 23304
2006-06-08 19:32:29 +00:00
sebastid d02863b3bd Check for correct type
SVN revision: 23303
2006-06-08 19:28:46 +00:00
sebastid 79191a8fd7 Add return value. The return value seems to not mean anything???
SVN revision: 23302
2006-06-08 19:11:54 +00:00
sebastid 45e45f8814 I assume we want to check the current char of argv
SVN revision: 23301
2006-06-08 19:08:47 +00:00
sebastid 0c6cd880b6 Remove unused variable
SVN revision: 23300
2006-06-08 19:06:31 +00:00
sebastid 22e7a09bcb Fix warning
SVN revision: 23299
2006-06-08 19:05:41 +00:00
sebastid e4ef683139 Fix warnings
SVN revision: 23298
2006-06-08 19:04:16 +00:00
sebastid 4a303b726f Remove printf
SVN revision: 23297
2006-06-08 19:02:11 +00:00
sebastid 179ea47d07 Fix name
SVN revision: 23296
2006-06-08 19:01:32 +00:00
Christopher Michael c1c9b37503 Remove the printf for inserting characters as imho it's not really needed
anymore. Entry widget seems to be working fine.


SVN revision: 23292
2006-06-08 15:47:09 +00:00
handyande faa1872544 allow shade buttons on borders
SVN revision: 23291
2006-06-08 15:15:57 +00:00
sebastid 88d887c330 Set correct limits for maximize_policy
SVN revision: 23290
2006-06-08 14:36:40 +00:00
Christopher Michael 6b49e365a4 Add a function to e_ilist and e_widget_ilist to return if a particular item
is a header or not. Allows traversing ilist items in a loop while
testing if the item is a header, and potentially skipping it.


SVN revision: 23286
2006-06-08 12:48:36 +00:00
sndev 8edc0be374 * fixing parameters of the "Maximize Vertical" and "Maximize Horizontal" actions
wrt the last raster commits.

Users: have to redefine those actions.


SVN revision: 23280
2006-06-08 09:29:53 +00:00
Carsten Haitzler a32e94f567 compile again after conflicts
SVN revision: 23269
2006-06-07 23:34:11 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a69bc7767c Clean up maximization, there is only one unmaximize function now. Think
this code can do more advanced stuff than the previous code.

The logic is that if the window is first maximized vertically, then
horizontally it should equal that both directions are maximized at once.

unmaximize can only be done in directions already maximized.

The code works, but hasn't been thorougly tested. Please report any errors
to me, and I will fix them!


SVN revision: 23254
2006-06-07 21:42:13 +00:00
sebastid f75950ae50 Remember fullscreen request for new clients, and delay it.
SVN revision: 23243
2006-06-07 18:12:46 +00:00
sebastid 6f2df0f3e7 For debug.
When using inotify files will be deleted and added, not changed. So we need
to check if someone wants to reference a newly created eapp!


SVN revision: 23235
2006-06-07 09:41:26 +00:00
sebastid 8664597e58 Fix style
SVN revision: 23232
2006-06-07 08:48:52 +00:00
sebastid d048e276b4 Check if the sensor name has been set
SVN revision: 23231
2006-06-07 08:34:10 +00:00
Christopher Michael 0b853ce1dc Revert back to void for e_modapi_init.
SVN revision: 23222
2006-06-06 15:33:44 +00:00
Christopher Michael da2730a5aa Revert back to void for e_modapi_init, Andy is correct.
SVN revision: 23220
2006-06-06 15:21:48 +00:00
Christopher Michael 2c98a4e7ea Revert back to void for e_modapi_init, HandyAndE is correct.
SVN revision: 23219
2006-06-06 15:19:36 +00:00
Christopher Michael 73c623e0e8 e_modapi_init should return int, not void.
SVN revision: 23209
2006-06-06 10:00:21 +00:00
Christopher Michael ac459c4c81 Fix e_modapi_init to return int, not void.
SVN revision: 23208
2006-06-06 09:59:16 +00:00
Christopher Michael 27522ef15c Fix e_modapi_init to return integer, not void.
SVN revision: 23207
2006-06-06 09:58:17 +00:00
Christopher Michael 9caf447a33 Make e_modapi_init return int, not void *.
SVN revision: 23206
2006-06-06 09:54:14 +00:00
Dan Sinclair dadc4dbb97 - fix warning
SVN revision: 23198
2006-06-06 03:52:52 +00:00
Dan Sinclair 1b90fddb72 - this was causing e to segv under valgrind. I'm assuming full_path is the
correct thing to thumb (and it seems to work) but c was never set to
  anything, so it was wrong.


SVN revision: 23197
2006-06-06 03:39:42 +00:00
sndev 9aaf7f3a5c * fixing desklock cfg dialog bug.
* removing comments.


SVN revision: 23187
2006-06-05 16:47:55 +00:00
Christopher Michael 6649cecfe0 Make internal eap editor stop using weird names if possible, and use a name
from the border icccm.


SVN revision: 23185
2006-06-05 15:36:02 +00:00
Christopher Michael 0d70dfdb3e Removed the "Theme" Section, just get edj files from path_init (Personal and
System).


SVN revision: 23182
2006-06-05 12:09:21 +00:00
Christopher Michael f4814dc96d Add thumbnailing for init screens :) (Thanks CodeWarrior)
Make Startup config dialog use static thumbnails in list now.


SVN revision: 23181
2006-06-05 11:48:26 +00:00
Christopher Michael 8a6d73acf6 Added Font Hinting and Init Screen (get/set) to enlightenment_remote.
Formatting of ipc_handlers.

Init Screen setting via e_remote tries to be proactive and checks for the
init collection to verify it's a valid init screen before setting.


SVN revision: 23180
2006-06-05 10:50:33 +00:00
Christopher Michael 27621d739b -Added new config item for init screens into e_config.h/c.
-Bumped e_config.h File_Generation to coincide with added config value.

-Fixed e_init.c to look for config value instead of hard-coded init.edj.

-Newer Config Startup dialog that allows selecting (with previews) of the init.

New init screens can now be copied into the init search directories, and
easily selected via dialog.


SVN revision: 23166
2006-06-05 03:16:16 +00:00
Christopher Michael ecfaf0da58 Just strip the extension once in the beginning as we may use it in two places.
SVN revision: 23165
2006-06-05 03:05:29 +00:00
Christopher Michael e8334c3094 And free homedir when done.
SVN revision: 23162
2006-06-04 13:57:27 +00:00
Christopher Michael 0f50d5d5e9 Only fetch homedir once, not every time we list a background as homedir
shouldn't change.


SVN revision: 23161
2006-06-04 13:56:34 +00:00
Christopher Michael 3ac409f752 Fix Add/Delete button positions.
Add code for disabling radio buttons if not showing labels.


SVN revision: 23152
2006-06-04 09:29:15 +00:00
Christopher Michael 8ca105b52f Patch from saturn_vk for adding an action and key-binding (set
through config dialog) which allows to "Show Desktop" by
iconifying/uniconifying all active borders.

(Tested heavily, no problems.)


SVN revision: 23118
2006-06-03 10:19:11 +00:00
Christopher Michael be57f30d3b Add Raise/Lower to window border menu.
SVN revision: 23108
2006-06-03 02:47:54 +00:00
Christopher Michael 284085fd70 Rework Shelf Config dialog, giving it a basic and advanced mode.
Advanced mode contains everything, basic mode just has size and style.


SVN revision: 23106
2006-06-03 02:27:13 +00:00
Christopher Michael 88b38caf30 Removed the FIXME: Icon preferences comment.
SVN revision: 23105
2006-06-03 01:50:19 +00:00
Christopher Michael 738604bb20 IBox now has config options for setting what is displayed in icon label.
Note: May need to "grandma"-ize this :)


SVN revision: 23104
2006-06-03 01:49:33 +00:00
sndev d13e0da18a Improving ibox.
* New config options that allow to show iconified wins from all zones/current zone/all zone desktops/current zone desktop.
* fixing multiple config dialogs issue. Only one config dialog is allowed per module instance.


SVN revision: 23103
2006-06-03 00:03:09 +00:00
Christopher Michael 5ba5902c22 Added ability to create/delete bar sources in config dialog now.
Uses new e_entry_dialog code.
Added ability to select which eap field is shown in the label.

This removes TODO items for ibar :)


SVN revision: 23095
2006-06-02 19:09:08 +00:00
Christopher Michael 057af1edf4 Added an entry dialog ala confirm dialog for getting user input.
Currently used in ibar config dialog for adding/removing bar sources.


SVN revision: 23094
2006-06-02 19:07:50 +00:00
Carsten Haitzler a8c4ea7208 enable/disable module works again :)
SVN revision: 23078
2006-06-02 05:15:03 +00:00
sndev 44efb14c21 * making the code easier
* allowing to add gccs directly to a gc->clients, instead of local evas_list.


SVN revision: 23072
2006-06-01 22:16:29 +00:00
Carsten Haitzler 36dad3c9f5 and make module config dialog work again :)
SVN revision: 23046
2006-06-01 06:57:32 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00
Carsten Haitzler f0ae0e8d64 limit place coord to within the zone.
SVN revision: 23044
2006-06-01 05:43:54 +00:00
sebastid a75b750f14 Don't use strlen to check for empty string
SVN revision: 23043
2006-06-01 05:27:25 +00:00
sebastid 6d775e62d2 Don't use strlen to check for empty string
SVN revision: 23042
2006-06-01 05:15:05 +00:00
Carsten Haitzler 59a12c9d5d remove really evil/bad code int he desklock config dialog. don't go digging
and recreating internal widget data - you need a feature - add it to the
widget, or use existing ones. password mode disabled because it's just a bad
buggy hack. see comments.


SVN revision: 23041
2006-06-01 04:09:33 +00:00
Stafford Mitchell Horne 049f2aae52 Add macro for N_ for marking string for translation
* Can be used to get static context strings translated
 * I guess this is the best way to do it, see here:
   http://www.gnu.org/software/gettext/manual/html_node/gettext_153.html
   http://www.gnu.org/software/gettext/manual/html_node/gettext_19.html


SVN revision: 23039
2006-05-31 22:51:24 +00:00
sebastid 715a64d5fe Fix warnings
SVN revision: 23032
2006-05-31 18:58:26 +00:00
sebastid c2d2b54e25 Remove unused variables
SVN revision: 23031
2006-05-31 18:44:18 +00:00
sebastid ec5cc36312 Fix paranthesis
SVN revision: 23030
2006-05-31 18:43:48 +00:00
sebastid 1487a2d788 Fix warnings
SVN revision: 23029
2006-05-31 18:41:37 +00:00
sebastid 7cafc0a578 Use correct function when fetching zone.
SVN revision: 23026
2006-05-31 16:46:02 +00:00
sebastid 5d8422e41a Use E_NEW macro
SVN revision: 23025
2006-05-31 16:31:52 +00:00
sebastid 9cb379777f Add const
SVN revision: 23024
2006-05-31 16:31:51 +00:00
sebastid 7c51b35764 Add const
SVN revision: 23023
2006-05-31 16:19:11 +00:00
sebastid 9ce88beab7 Add const modifiers
SVN revision: 23022
2006-05-31 16:12:16 +00:00
sebastid 2faf4a5ab6 Add some const modifiers to quiet warnings.
Remove unused variables.


SVN revision: 23021
2006-05-31 16:07:22 +00:00
sebastid db3c3b8da7 Clean warnings
SVN revision: 23020
2006-05-31 15:47:31 +00:00
sebastid 0c0c0bbed5 Clean compiler warnings
SVN revision: 23019
2006-05-31 15:46:44 +00:00
Stafford Mitchell Horne 04a89312f9 Make config list buttons thinner. This is so longer text labels which
do not wrap wont affect the layout.


SVN revision: 23017
2006-05-31 00:32:26 +00:00
sndev f283545354 * Preventing to have more than 1 config dialog per shelf, when it is
launched via E config panel.


SVN revision: 23013
2006-05-30 21:27:52 +00:00
Carsten Haitzler ecb5f317b4 7--
SVN revision: 22994
2006-05-29 21:32:30 +00:00
Carsten Haitzler e3a5d7ad2d start on a long awaited TODO item - a window properties dialog - that will
let u know what e thinks about this window... just some of ICCCM for now.


SVN revision: 22983
2006-05-29 07:35:41 +00:00
sndev 5053c4367e oooppps. NULL check was not performed => strange items in the list :)
SVN revision: 22967
2006-05-28 11:28:14 +00:00
sndev 7370ced84f * Focus window on uniconify.
SVN revision: 22939
2006-05-27 22:58:09 +00:00
sndev 6e06ed9318 * Allow the E_EVENT_FOCUS_IN/OUT to be sent iff the focus is set explicitly.
Otherwise, the event is set on each focus callback, not even if the border
already has focus.

* Do not like autoapply in keybinding dialog. :)


SVN revision: 22926
2006-05-27 17:09:08 +00:00
Christopher Michael f7c1dede27 Disable Advanced in Configuration Dialogs config dialog as Auto-Apply is
currently disabled.

Re-enable if/when auto-apply goes back in.


SVN revision: 22892
2006-05-25 16:30:43 +00:00
Christopher Michael da0f51c1ef Fix long-standing issue with Window Display config dialog that has been
driving me crazy.
	- Keep Window Geometry Info option in sync between Basic and Advanced.


SVN revision: 22891
2006-05-25 16:14:10 +00:00
Christopher Michael cc742cb5f6 IBox labels are now optional.
Config Dialog added.
Multiple IBox Instances supported.


SVN revision: 22887
2006-05-25 13:25:37 +00:00
Carsten Haitzler 133cd23563 disable auto apply - all the people reporting problems have it enabled.
SVN revision: 22857
2006-05-24 02:49:07 +00:00
sndev b8ed636f52 1. The confirmation dialog on shelf delete is added. Somebody on IRC proposed to have it.
Also it is added on Key Binding deletion (see Key Bindings dialog).

Code duplicates were moved to a separate function e_confirm_dialog_show.

2. Two new events E_EVENT_BORDER_FOCUS_IN and E_EVENT_BORDER_FOCUS_OUT are added.


SVN revision: 22844
2006-05-22 20:28:33 +00:00
Carsten Haitzler 407dcac356 ----------------------------------------------------------------------fix
name/class warning dialog


SVN revision: 22833
2006-05-22 13:01:05 +00:00
sndev b46deba2c7 * improving the usability of the Shelf config dialog in E config panel. Now
when one add a new shelf the selector automatically goes to it.

* adding a confirmation dialog on shelf delete. Request from CodeWarrior. :)

* possible-TODO: would be nice very nice "question" icon for this dialog.


SVN revision: 22832
2006-05-22 12:01:09 +00:00
Carsten Haitzler 1a5b751be6 make radio icons use icons only to save space
SVN revision: 22811
2006-05-21 15:10:20 +00:00
Christopher Michael 085210cd00 Default the shelf list width to something sane if the shelf count
is 0, else request the width and set accordingly.


SVN revision: 22804
2006-05-21 11:45:22 +00:00
sndev 2fcc7a1c49 ooopppps. Using uninitiliazed "label" variable in _basic_create_widgets and
_cb_remove_instance. fixing.


SVN revision: 22802
2006-05-21 11:20:30 +00:00
Carsten Haitzler a8a85ed2d8 iconradio elements are available now
SVN revision: 22797
2006-05-21 11:00:04 +00:00
sndev 61ef5ed73e Just improving of the GUI by putting headers into the list of backrounds.
SVN revision: 22764
2006-05-20 09:39:30 +00:00
Carsten Haitzler ff7ec3ccad and now fix up the gadcon contents dialog a bit... :)
SVN revision: 22761
2006-05-20 03:53:36 +00:00
Carsten Haitzler 1a54ccf11d on eap cache file writes - if there is a save error - delete the file (so we
don't have a corrupt one).


SVN revision: 22760
2006-05-20 03:26:21 +00:00
Carsten Haitzler f7f46c210d handle config save errors.
SVN revision: 22759
2006-05-20 03:23:12 +00:00
sndev 7f7354dba4 FIXME added.
SVN revision: 22754
2006-05-20 00:41:45 +00:00
sndev af66ec1c08 Update of the Shelf Content config dialog. Now one can have several instances
of the same gadcon in one shelf.

The config dialog still contains some problems :

* If the config dialog is opened, and at that time the settings of the gadcon has
  changed, then applying settings will overwrite changes with the old values.
  (will be fixed soon).

* The problem of gadcon identifiers. For example if one have two instances of the
  ibar in one shelf, then changing settings of the one ibar gadcon will automatically
  change the settings of the another gadcon(s) in the same shelf. Basically, they
  are not distinguishable. (will be fixed soon, but need raster's
  consultation/help/explanation :))

* Icons in "Selected Items" lists (will be fixed soon)
* Names of the gadcons in "Selected Items" list should start with capital letter.

* maybe something else I forgot to list.


Raster, your code is still presented in the file :). So, if unfortunatelly you will
dislike what I did :), it can be easiely rolled back :)

Enjoy the new functionality :)


SVN revision: 22753
2006-05-20 00:03:20 +00:00
Carsten Haitzler 6dcf19c786 and > 4 shelves fixed (ie no gadcon config by default)
SVN revision: 22737
2006-05-19 13:21:01 +00:00
Carsten Haitzler 0f5945349d gadcon config generates new id's for new gadcon clients... properly.
SVN revision: 22736
2006-05-19 12:56:47 +00:00
Carsten Haitzler 042c1bff12 dropshadow module.eap - almost ready to nuke the module iconand use eap's
SVN revision: 22731
2006-05-19 09:04:41 +00:00
Carsten Haitzler 04553720c4 been debugging - but only real change - set env vars.
SVN revision: 22727
2006-05-19 03:57:24 +00:00
Carsten Haitzler 2249f9bf0d better labels2
SVN revision: 22720
2006-05-18 21:33:03 +00:00
Carsten Haitzler a300b332f8 better label
SVN revision: 22719
2006-05-18 21:31:18 +00:00
Christopher Michael 6f29d4ab5f Remove unused variable.
SVN revision: 22713
2006-05-18 20:06:49 +00:00
Christopher Michael 9e4fcdefe1 Changed governor to be const char instead of just char in order to quiet
evas_stringshare warnings.


SVN revision: 22700
2006-05-18 14:53:51 +00:00
Christopher Michael b8a3ef44ee Removed unused variable 'found' in config_item_get function.
Cleaned up compiler warnings from evas_stringshare_add by making char *
into const char *.
Fixed _ibar_new function to use const char *.


SVN revision: 22696
2006-05-18 12:24:35 +00:00
Carsten Haitzler 3c7f797f08 dnd from border to ibox iconifies
SVN revision: 22691
2006-05-18 07:28:51 +00:00
Carsten Haitzler 6700c38e74 fix eap name info
SVN revision: 22690
2006-05-18 06:34:27 +00:00
Carsten Haitzler 19fd612b97 ibox makes it first gadcon moves.
SVN revision: 22689
2006-05-18 06:30:33 +00:00
Carsten Haitzler f169a477c0 oops - fix rotation widget disabling.
SVN revision: 22662
2006-05-17 02:52:50 +00:00
Carsten Haitzler 48e94671d8 satrun_vk's patch to make manipulating windows while maximized an option and
translation updates


SVN revision: 22638
2006-05-16 07:32:37 +00:00
Carsten Haitzler 0c6e5f1f96 x io error exit doesnt segv now
SVN revision: 22629
2006-05-15 04:45:43 +00:00
Carsten Haitzler e42300bd25 and actually delete the shelf config too
SVN revision: 22609
2006-05-14 07:18:57 +00:00
Carsten Haitzler 380d7992a1 always write icon file with edje_cc first.
SVN revision: 22606
2006-05-14 03:49:46 +00:00
Carsten Haitzler 62034acf5a remove icon path - really useless info you probably shouldnt change anyway as
this will confuse things.


SVN revision: 22604
2006-05-14 02:38:14 +00:00
Carsten Haitzler 4f4d7a566b make create icon simpler - we just use generic _new_app_21432432.2.eap names
for brand new eaps as we dont knwo what to call them until theyare fileld out
- it's also a good way to track what e has created itself :) (filename isnt
that important really)


SVN revision: 22600
2006-05-14 02:08:36 +00:00
Carsten Haitzler b0f31255e9 ibar picks up name changes now
SVN revision: 22599
2006-05-14 01:30:10 +00:00
Carsten Haitzler f0dae8e901 eap icons update realtime in borders based off on-disk changes etc. etc.
(editing icons seems to work like a charm for me so far).


SVN revision: 22598
2006-05-14 01:13:42 +00:00
Carsten Haitzler dcb633e46e and now pick up new apps immediately :)
SVN revision: 22588
2006-05-13 16:05:15 +00:00
Carsten Haitzler 81c249ddeb handle spaces in eap filenames when editing, and proeprly escape things, add
gneric escaper, and reduce file path of icon files nicely.


SVN revision: 22587
2006-05-13 15:20:15 +00:00
Carsten Haitzler b24ee237c5 creating new eaps actually works - and shouldnt leak ram now.
SVN revision: 22585
2006-05-13 14:57:20 +00:00
Carsten Haitzler 8231fc973d 1 more todo item done (move mouse to a new screen/zone/head by actions)
SVN revision: 22584
2006-05-13 14:23:42 +00:00
Carsten Haitzler 44d719576e some illogict patches :)
SVN revision: 22568
2006-05-13 03:04:35 +00:00
Carsten Haitzler d38edd35b6 disable rotations that are not possible
SVN revision: 22557
2006-05-12 15:38:05 +00:00
Carsten Haitzler f26aaea433 1. update gui exported config value comments and
2. update TODO


SVN revision: 22556
2006-05-12 15:12:00 +00:00
Carsten Haitzler 25fb9ffe5d display res dialog now offers rotate & flip... if your x/drivers can do it.
SVN revision: 22555
2006-05-12 15:07:39 +00:00
Carsten Haitzler a4bef14b22 debug for rotation stupport
SVN revision: 22551
2006-05-12 12:29:44 +00:00
sndev 6aafb3309e -- nothing new.
SVN revision: 22549
2006-05-12 12:25:55 +00:00
Carsten Haitzler 32eb879502 fix weird utf8 ... chars - massimo patch
SVN revision: 22532
2006-05-11 14:09:10 +00:00
Carsten Haitzler 5730e23fd9 defer queued saves for 0.25 sec
SVN revision: 22527
2006-05-11 07:00:29 +00:00
Carsten Haitzler 0f82e95afe fix segv's for display config dialog
SVN revision: 22518
2006-05-10 14:54:59 +00:00
Carsten Haitzler 282a978df4 make res dialog not segv if u dont select refresh rate, make refresh get
selected anyway, and  re-enable window resize/move to fit onto the screen if
you go down a resolution.


SVN revision: 22517
2006-05-10 14:29:41 +00:00
Carsten Haitzler aaf05fd73e clean up #defines
SVN revision: 22516
2006-05-10 13:41:23 +00:00
Carsten Haitzler 42d88e55f6 TODO update - and remove nastiness in module config dialog
SVN revision: 22515
2006-05-10 13:38:25 +00:00
Carsten Haitzler 4fb948f102 some old bugs are gone and fix another.
SVN revision: 22513
2006-05-10 13:05:23 +00:00
Carsten Haitzler b3ca940aa8 empty ibar now lets u click on it for config...
SVN revision: 22509
2006-05-10 11:58:20 +00:00
Carsten Haitzler ab70226b8c autoapply has a lag of 0.5 seconds from changin config to applying to 1.
limit overhead and 2. minimise bugs.


SVN revision: 22508
2006-05-10 10:17:59 +00:00
Carsten Haitzler f4ea103ba8 flip bar dirs correctly :)
SVN revision: 22507
2006-05-10 09:18:27 +00:00
Carsten Haitzler c58b7235ba display bigger module icons
SVN revision: 22505
2006-05-10 08:38:44 +00:00
Carsten Haitzler 0a61ef0713 sort resolutions nicely
SVN revision: 22504
2006-05-10 08:15:32 +00:00
Carsten Haitzler 53f3e5dcd0 move bar directory down 1 level so all "bar" dirs are in their own domain -
makes listing available bar dirs, managing them and so on much simpler and
cleaner. also add label popups to ibar (finally).


SVN revision: 22502
2006-05-10 07:42:39 +00:00
Carsten Haitzler 7dc5dc0753 add icon provision for gadcon classes and label provider functions. also add
all the data, update and add new icons etc. etc.


SVN revision: 22495
2006-05-09 13:02:48 +00:00
sndev c74f1952c2 * some code cleanup
* some bugfixes.


SVN revision: 22493
2006-05-08 20:24:18 +00:00
Carsten Haitzler 3dca1a1058 printf--
SVN revision: 22489
2006-05-08 13:38:41 +00:00
Carsten Haitzler 9af41e6e0a formatting!
SVN revision: 22488
2006-05-08 13:21:50 +00:00
Carsten Haitzler 2796c8917e fix maximize to respect shelves
SVN revision: 22487
2006-05-08 13:09:51 +00:00
sndev 04cde392ca It seems that if all the radios in the group are toggled off, then it is
not possible to toggle on any radio in that group :-\. This happens
because the variable toggle==0 when all the radios are toggled off. Consequently
the "toggle on" code is not reachable.

If the toggle variable is removed, then everything seems to work fine.


SVN revision: 22486
2006-05-08 11:47:20 +00:00
Carsten Haitzler 007469aa9a fix bug in dialog bringup and dont bring up dialog multiple times
SVN revision: 22480
2006-05-07 12:55:07 +00:00
Carsten Haitzler 851d41c010 gadcons now can have their contents enabled/disabled depending on what is
providing it.


SVN revision: 22478
2006-05-07 09:49:37 +00:00
sndev 00390cb3e3 * Some code cleenup
* repeated code cleanup
* moving the list of keybinding into action.c


SVN revision: 22472
2006-05-06 09:35:05 +00:00
Carsten Haitzler 90a1c59b5c governors menu works properly/predictably again
SVN revision: 22468
2006-05-05 23:31:12 +00:00
Carsten Haitzler ce719a0140 fines to start work on settign gadcon contents and make click to focus also
set "revert to last focused"


SVN revision: 22465
2006-05-05 12:20:14 +00:00
Carsten Haitzler 3a86986f7b fix edge flip to change on move_resize too
SVN revision: 22462
2006-05-05 08:59:01 +00:00
Carsten Haitzler 4eb3eef328 pager handles res change/rotate properly again now.
added some todo items.
it's "interesting" running in 1200x1600. mmm yum. very tall windows. lots of
code!


SVN revision: 22461
2006-05-05 04:47:57 +00:00
Stafford Mitchell Horne f689c8ed1e Fix eet file descriptor leak of imc's
SVN revision: 22452
2006-05-04 01:34:32 +00:00