Commit Graph

7021 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 75856e21ea Add various missing libraries linkages, by Lutin.
SVN revision: 44889
2010-01-04 19:37:06 +00:00
Christopher Michael 7c3a27c3c9 Remove dead lines.
Don't use X round-trips.



SVN revision: 44883
2010-01-04 18:42:17 +00:00
Christopher Michael a28b80b1dc Don't use X round-trips.
SVN revision: 44882
2010-01-04 18:37:59 +00:00
Christopher Michael a5bac23eca Use border props for quickpanel rather than round-trip X calls.
SVN revision: 44881
2010-01-04 18:19:27 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Carsten Haitzler 5ebb87d158 1. compositor module skeletion. have more code elsehwere currently
2. lutin patch for path_max



SVN revision: 44874
2010-01-04 12:27:15 +00:00
Christopher Michael 3ec7e23d3f Some printfs for quickpanel sort (as it still does not seem to sort
correctly all the time).



SVN revision: 44872
2010-01-04 05:32:13 +00:00
Christopher Michael d39c3131fe Remove a printf.
Do not set lock_client_location or lock_user_location during border assign
hook. (These were responsible for elm_indicator window not being movable)
Add a new function so that we can move indicator window to proper position
if we are not in landscape mode. ( This resets indicator window to top
position when mode changes to non-landscape)

Thanks for the help Raster ;)



SVN revision: 44871
2010-01-04 02:53:51 +00:00
Christopher Michael 7d817812d9 Remove samsung policy directory. Not really needed.
SVN revision: 44868
2010-01-04 01:55:03 +00:00
Christopher Michael 35df00f32a Add event for when policy changes.
Handle policy change event.
Remove some unneeded includes.



SVN revision: 44867
2010-01-03 22:54:47 +00:00
Christopher Michael 21055add39 Fix sorting on major numbers (still a problem w/ sorting on minor numbers
tho).



SVN revision: 44866
2010-01-03 22:34:09 +00:00
Christopher Michael 687881fc63 Rework illume2:
- Policies are now loadable .so's ;)
       


SVN revision: 44864
2010-01-03 22:24:07 +00:00
Christopher Michael 6ca0879feb Remove old illume2 (readding in a second with lots of changes, so this was
easier).



SVN revision: 44863
2010-01-03 22:22:39 +00:00
Gustavo Sverzut Barbieri 0e29bef4b6 lots of minor improvements and fix the damn segfault problem.
* passphrase dialog now has a minimum set size.

 * gadget service name just shows if gadget is larger than 32px, this
   avoids useless 1-2 letters + ellipsis on small gadgets.

 * it's not clear from connman, but seems that error is just
   meaningful if they are in state == failure, they just don't append
   the error and do not notify it went away :-(

 * NotConnected is the name, not the message. Now disconnect on
   already disconnected is fine (called when one request passphrase
   again)

 * fix typo "Disconnect s/to/from/g network service"

 * add some notes on where to handle cellular services.



SVN revision: 44854
2010-01-02 22:12:36 +00:00
Gustavo Sverzut Barbieri d41cc63c97 new icons, from exalt-client, by rasterman.
SVN revision: 44852
2010-01-02 16:22:28 +00:00
Gustavo Sverzut Barbieri 5d21509986 connman improvements, almost fully usable.
* interacts with offline mode (menu > settings > mode > offline)

 * asks password if service requrires a password or failed to connect.

 * on server exit stringshares go wrong and it crashes. It is very
   weird that this does not happen with e_dbus_connman_test and
   valgrind reports no error there. It is easy to reproduce, but hard
   to track as things are asynchronously and stringshare will report
   the error on the last _del(), that might the correct one and the
   spurious happened before.

 * part of the usability issues are due connman server (connmand), it
   should have an "authentication failed" error (instead of generic
   "Failed: input/output error" and it should stop entering
   "InProgress" when it is not (often happens when one enters invalid
   password, gets an Failed i/o error, then system keeps into
   InProgress). Toggling offline mode might help reset the status.



SVN revision: 44847
2010-01-02 05:25:27 +00:00
Gustavo Sverzut Barbieri 91d80a9736 disconnect actiom, bit better gadget and tip, still lacks offline mode indicator
SVN revision: 44842
2010-01-01 17:20:19 +00:00
Christopher Michael a1bc311d9a Fix some formatting in connman.
Remove some commented lines in quickpanel.
Add some printfs to quickpanel sort.
Remove dead code line in illume2 layout.
Separate illume and illume2 modules in build process (this allows illume &
illume2 to be enabled/disabled separately)



SVN revision: 44841
2010-01-01 17:15:16 +00:00
Massimo Maiurana e06cd87c39 updating french and italian translations
SVN revision: 44839
2010-01-01 08:50:50 +00:00
Gustavo Sverzut Barbieri f644b3c86e connman popup to give useful information, last commit this year!
SVN revision: 44837
2010-01-01 01:12:53 +00:00
Gustavo Sverzut Barbieri d141b8d627 connman is in a good and usable shape now: connects and goes offline.
Please someone help with the gadget :-)



SVN revision: 44836
2009-12-31 23:51:13 +00:00
Christopher Michael 46387d608c Remove wasted whitespace. Fix some formatting.
SVN revision: 44835
2009-12-31 22:45:34 +00:00
Gustavo Sverzut Barbieri 22580d466d rework of connman module, a semi-functional display only module so far.
SVN revision: 44834
2009-12-31 21:44:33 +00:00
Gustavo Sverzut Barbieri 9436c022bc avoid leak
SVN revision: 44833
2009-12-31 21:36:01 +00:00
Iván Briano 1c2ba52eb4 Add Move and Resize to the border menu.
SVN revision: 44820
2009-12-31 03:34:27 +00:00
Christopher Michael e20470a501 Add input window so we can click anywhere and dismiss QP. Also listens for
mouse_wheel up to dismiss (because we use mouse_wheel currently to show QP).



SVN revision: 44810
2009-12-30 19:45:53 +00:00
Christopher Michael d254ddcd3f Formatting & Whitespace removal.
SVN revision: 44806
2009-12-30 18:54:50 +00:00
Christopher Michael 0f08cc2cac Implement priority sorting for quickpanels.
SVN revision: 44804
2009-12-30 18:41:55 +00:00
Christopher Michael 694a80290f Fix nasty formatting.
Remove whitespace.
Use -1 for eina_list_sort (saves a function call to eina_list_count).



SVN revision: 44801
2009-12-30 18:24:37 +00:00
Christopher Michael ec8e145dcd Formatting & Whitespace.
SVN revision: 44796
2009-12-30 17:22:19 +00:00
Christopher Michael ca2c3ef479 Formatting in quickpanel.
Use better method to get current zone.
Check valid border count on mode switch and create new home windows if needed.



SVN revision: 44778
2009-12-30 02:34:27 +00:00
Christopher Michael 002032811d Add handler for creating new home windows when we get the client message.
Check layout mode on startup and create another home window if needed.



SVN revision: 44777
2009-12-30 02:33:09 +00:00
Christopher Michael ff7cea945f Don't listen on delete requests for home window.
SVN revision: 44773
2009-12-30 01:20:08 +00:00
Christopher Michael 301a1ec905 Kill and apps that we have run from 'home' when we unload the module. (to
cleanup nicely when we exit).



SVN revision: 44770
2009-12-29 23:54:17 +00:00
Christopher Michael 67a4f2caa0 Add different icons for different layout modes in mode-toggle module.
Add code to handle layout changes & update icon.
Implement new Ecore_X Illume Modes.
Make mode toggle actually cycle through modes and change accordingly.



SVN revision: 44769
2009-12-29 22:23:15 +00:00
Christopher Michael a3b7ffe569 And fix quickpanel layer if we are not animating.
SVN revision: 44767
2009-12-29 20:48:19 +00:00
Christopher Michael 7beb5fbf59 Fix quickpanel layering issue.
SVN revision: 44766
2009-12-29 20:43:14 +00:00
Christopher Michael a19182368b Remove function protos that are not used anymore.
SVN revision: 44765
2009-12-29 20:34:43 +00:00
Christopher Michael 93bcd9f4b0 Reduce variable usage.
Reenable border_assign hook (apparently it is needed for proper window
placement).
Reduce variable usage in some functions.
Remove border show/hide handlers (not used here).



SVN revision: 44764
2009-12-29 20:30:39 +00:00
Christopher Michael b6c8671bca Fix some quickpanel placement issues.
Add function to adjust quickpanel position.
Add function to return if border is valid.
Set layer of App borders.
Reduce variable usage (use valid_count_get directly).



SVN revision: 44763
2009-12-29 20:26:15 +00:00
Christopher Michael 223fcceb7c And also offset the width of the button. Looks more 'centered' now.
SVN revision: 44762
2009-12-29 19:48:49 +00:00
Christopher Michael ab88bd2a48 Offset the new 'selector' button just a little so it's not so close to the
top of the kbd



SVN revision: 44761
2009-12-29 19:43:22 +00:00
titan 06978eaf8f Change the way the different keyboards are cycled through.. this is less painful, quicker, and easier... Simply click the button to change. *Approved by devilhorns.
SVN revision: 44760
2009-12-29 19:02:48 +00:00
Christopher Michael 5e5c3108cc Add missing quickpanel files (not complete yet, but does work)
SVN revision: 44754
2009-12-28 22:22:50 +00:00
Christopher Michael 676817424c Remove code which handles quickpanel state in client message handler.
Remove quickpanel functions from policy (handled differently now)
Create quickpanel object so we can animate it.
Add quickpanel init/shutdown to startup.
Don't handle layer set for quickpanel in border_add
Set quickpanel layer in layout code.



SVN revision: 44753
2009-12-28 22:22:07 +00:00
Christopher Michael c7a233c60e Formatting.
SVN revision: 44751
2009-12-28 22:13:42 +00:00
Christopher Michael 0ce016e249 Remove dead function proto.
SVN revision: 44750
2009-12-28 22:12:23 +00:00
Christopher Michael b5981c8e58 Fix function prototype...no idea how this even compiled all this time.
SVN revision: 44749
2009-12-28 18:01:39 +00:00
kiwi 8c4e168f29 avoids overriding some advanced pannel values when changing something in basic pannel. for example, when you add one desktop, it was reseting the flip animate time.
also it only checks basic values in basic pannel apply.
and keeps coherency when you apply advanced pannel and goes back to basic.

ok barbieri


SVN revision: 44747
2009-12-28 08:23:41 +00:00
kiwi 525ce104cf if a change was made in basic/advanced mode, the ok/apply button should be enabled when you go back to that mode
ok barbieri


SVN revision: 44746
2009-12-28 08:19:52 +00:00
kiwi 0e14736338 avoid duplicate widget_change() on check/uncheck
ok barbieri


SVN revision: 44745
2009-12-28 08:14:17 +00:00
Christopher Michael 7804b38022 Remove dead code. These hooks are not needed.
SVN revision: 44744
2009-12-28 05:50:23 +00:00
Christopher Michael 019ced7f7c Reduce duplicated code.
SVN revision: 44743
2009-12-28 04:21:38 +00:00
Christopher Michael 3f2e4ed776 Add config variable for quickpanel animation duration.
Add gui for setting quickpanel duration (in Animation settings)
Bump config version for new variable (qp duration)



SVN revision: 44742
2009-12-28 03:50:44 +00:00
Christopher Michael fa7997bb19 Do not need to pass module when doing e_kbd_init.
Do not need to pass module when doing e_mod_layout_init.
Use global config->mod_dir in e_kbd_dbus.
Handle layer set & lower of quickpanel(s) in _border_add function.
Actually show/hide quickpanels when asked (temporary..this will change soon)
No need to handle setting conformant app layer in layout code. Done in
border_add.



SVN revision: 44741
2009-12-28 03:41:20 +00:00
Christopher Michael 4a4d04fa81 Add functions to allow quickpanel show/hide to be handled on a per-policy
basis.



SVN revision: 44740
2009-12-28 02:34:49 +00:00
Christopher Michael 0576446c11 Add check in 'valid borders get' for quickpanel so it is not included in
that return.
Add function to return all quickpanel borders.
Add function to return count of quickpanel borders.
No need to retrieve mode from event window when we get a client message. The
mode is actually returned to us already in the event data.
Add trap for quickpanel state in client message handler.



SVN revision: 44738
2009-12-28 02:11:55 +00:00
Christopher Michael b6d17d8ce5 Add checks for evas events being on hold.
Use mouse wheel for show/hide of quickpanel (for now...just temporary)



SVN revision: 44737
2009-12-28 02:09:33 +00:00
Christopher Michael c9276d9bb6 No need to set borderless here...layout code handles that.
No need to move/resize here either...again, layout code handles that.
Use current zone when creating indicator.



SVN revision: 44736
2009-12-27 21:48:37 +00:00
Christopher Michael f6f8eb8c09 Need an actual move here to handle external keyboards (elm_kbd). This
'should' make kbd 100% finished. Works in all test cases I have run so far.



SVN revision: 44734
2009-12-27 20:09:26 +00:00
Miculcy Brian ebf154104a optimize ilist width
SVN revision: 44733
2009-12-27 19:51:06 +00:00
Christopher Michael 4b60457607 Fix some corner cases where keyboard was not showing the second time.
SVN revision: 44732
2009-12-27 18:22:20 +00:00
Christopher Michael 095fcb424c Add a handler for when borders get removed so we can reset the indicator
state.



SVN revision: 44729
2009-12-27 05:13:53 +00:00
Christopher Michael c23cca0bbb Rework/recode e_kbd stuff. This makes keyboard work nicely with everything
that I have tested so far. No more initial home window size problems either :)



SVN revision: 44728
2009-12-27 05:04:41 +00:00
Christopher Michael 14d5f3fa5a Don't take focus.
SVN revision: 44727
2009-12-27 01:20:02 +00:00
Christopher Michael 269e469496 Remove commented line.
SVN revision: 44726
2009-12-27 00:58:59 +00:00
Christopher Michael 21739a8521 Break apart keyboard code to separate dbus code (cleaner).
Fix initial home window size problem.



SVN revision: 44725
2009-12-27 00:57:04 +00:00
Christopher Michael a4add1cd96 Shed some much needed light on 'illume' and fix all the compiler warnings.
Now compiles clean and silent :)



SVN revision: 44711
2009-12-24 03:03:42 +00:00
Christopher Michael 71af0a18f1 Use proper variable type when deleting Ecore_Event_Handlers.
Remove some whitespace.



SVN revision: 44703
2009-12-23 21:46:39 +00:00
Christopher Michael 7a3aec9462 Use proper variable type...Come on people, check your code !!
SVN revision: 44702
2009-12-23 21:43:15 +00:00
Christopher Michael e214f8fb5b Use proper variable type when deleting handler(s).
SVN revision: 44701
2009-12-23 21:41:07 +00:00
Christopher Michael a245fb11cf e_utils - Use PATH_MAX, not 4096.
e_fm.c - An idler is not a timer. Use proper variable type. Formatting.



SVN revision: 44700
2009-12-23 21:29:36 +00:00
Christopher Michael 0942505cff Resize the quickpanel borders during layout.
SVN revision: 44698
2009-12-23 20:04:44 +00:00
Christopher Michael 5906ab2010 Trap for quickpanel windows. Not actually doing anything with them yet tho.
SVN revision: 44694
2009-12-23 15:26:51 +00:00
Christopher Michael 69581f2d37 A poller is not a timer. Use proper variable type, and proper delete function.
SVN revision: 44689
2009-12-23 14:04:22 +00:00
Christopher Michael db41be00b2 Remove winlist client message.
Add defines for border layers to allow easier changing in code.



SVN revision: 44687
2009-12-23 13:36:13 +00:00
Christopher Michael c873ad8207 Remove EAPI from kbd functions. We do not need to export these as they are
used by illume2 only.



SVN revision: 44683
2009-12-23 12:02:55 +00:00
Christopher Michael 53b66b881c Breakup code a little more to be better organized. Separates all border
functions into one file.



SVN revision: 44681
2009-12-23 11:48:55 +00:00
Christopher Michael 0e6ac0c058 Fix edje error about non fixed part.
SVN revision: 44673
2009-12-23 00:53:17 +00:00
Christopher Michael 8ff96c07d1 Separate illume mode toggle into it's own gadget. This makes illume2 that
much cleaner.
Remove mode icon from illume2 edj.
Remove gadcon files from illume2 (in own gadget now).
Modify illume2 e.cfg to include illume-mode-toggle gadget and reorder gadgets.



SVN revision: 44671
2009-12-23 00:39:24 +00:00
Christopher Michael e7cb1a5f48 Remove the Resize Option from the right-click menu.
SVN revision: 44670
2009-12-23 00:28:02 +00:00
Christopher Michael 3336f7093c Formatting.
SVN revision: 44663
2009-12-22 21:11:49 +00:00
Christopher Michael ed33b4d746 If the popup fails to create, then destroy the input_window and release any
grabs.
Lots of Formatting & Whitespace removal.



SVN revision: 44662
2009-12-22 20:41:06 +00:00
Christopher Michael 8d3b279e6a Fix up some formatting.
SVN revision: 44661
2009-12-22 19:47:35 +00:00
Samuel F. Baggen 6b03d701d5 do not return if we dont have prev_ld_library_path, sometimes we still need to do the next thing
SVN revision: 44658
2009-12-22 16:09:17 +00:00
Gustavo Sverzut Barbieri 9ca34faf2d formatting: trailing whitespace and re-indented.
SVN revision: 44654
2009-12-22 13:14:07 +00:00
Gustavo Sverzut Barbieri 2994d25b35 [cpufreq applet] fixed setting userspace in CPU speed setting (better patch)
Hallo, I've fixed bug with setting freq by user (problems on govs
"performance").

I've investigated in cpufreq-set (cpufrequtils) and that apps set govs
to "userspace" before setting cpu speed.

By: Pavol Klačanský



SVN revision: 44653
2009-12-22 13:08:57 +00:00
Gustavo Sverzut Barbieri bb3c3c1af5 conf_dpms: apply disabled state on load as well
By: Manio, with some modifications.



SVN revision: 44652
2009-12-22 13:02:21 +00:00
Christopher Michael c699e831d7 No need for window resize. Layout handles that.
Don't need zone now.



SVN revision: 44643
2009-12-21 21:00:50 +00:00
Christopher Michael 5c868a1441 Exec on current zone, not always zero.
SVN revision: 44642
2009-12-21 20:58:02 +00:00
Christopher Michael c506d0db46 Create keyboard on current zone, not always on zone 0.
SVN revision: 44641
2009-12-21 20:56:25 +00:00
Christopher Michael 0007331545 Check that zone exists first before trying to use it.
No need to set border zone twice here.



SVN revision: 44640
2009-12-21 20:54:09 +00:00
Christopher Michael f9f0e3f2fb Add zone as a parameter to some functions so we can make sure that these
functions operate only on the current zone.



SVN revision: 44635
2009-12-21 17:19:32 +00:00
Christopher Michael 3f6dd189c8 Formatting.
Remove whitespace.



SVN revision: 44620
2009-12-21 04:07:44 +00:00
Christopher Michael 652da596a2 Create kbd on current zone.
Formatting.



SVN revision: 44619
2009-12-21 03:54:41 +00:00
Christopher Michael 7fa3653854 Remove dead code.
Add function to get border max size.
Set conformant apps to be below indicator bar.



SVN revision: 44617
2009-12-21 02:35:14 +00:00
Christopher Michael 4d32e932ea Handle another corner case wrt layout. Dual mode working nicely now even
with moving indicator (just need to handle conformant & fullscreen now).



SVN revision: 44611
2009-12-20 17:29:04 +00:00
Christopher Michael a9af8c438d More work on layout code. Handle cases where top shelf was dragged to
zone->y, thus making app1 region too small to display anything, so we do the
layout as was done previously. There are still some corner cases that I need
to trap here.



SVN revision: 44591
2009-12-20 06:06:53 +00:00
Christopher Michael 02d4e0493d allow moving indicator in 1/8th increments (not free movement).
SVN revision: 44590
2009-12-20 04:45:11 +00:00
Christopher Michael 904f3db655 New layout code for dual-mode. This works with dragable indicator bars (tho
still need to handle fullscreen/conformant cases, and cases where an app
which wants vkbd is placed at the bottom - the vkbd ends up covering the app
window :( )



SVN revision: 44580
2009-12-19 21:05:49 +00:00
Massimo Maiurana d9a20cc221 updating french and italian translations
SVN revision: 44576
2009-12-19 15:06:30 +00:00
Vincent Torri 7e7e0a8a55 fix last void * arith
SVN revision: 44562
2009-12-19 08:39:11 +00:00
Carsten Haitzler 672d1de1e3 fix more void * arith!
SVN revision: 44560
2009-12-19 00:15:16 +00:00
Christopher Michael ecf7f4c4f5 Reduce variable usage.
SVN revision: 44559
2009-12-18 23:58:51 +00:00
Carsten Haitzler 7c650aaa62 dont use void *'s and poitner arithmetic! char * is what was intended
SVN revision: 44558
2009-12-18 23:53:39 +00:00
Christopher Michael 91c093d45a Add handy functions for getting dual-app mode safe regions (safe regions
being space that is available to place a window).



SVN revision: 44557
2009-12-18 23:51:54 +00:00
Gustavo Sverzut Barbieri 0900c11347 'Set as background' mime handler moved to core, refactored.
* Remove 'Set as background' from conf_wallpaper and add it to e_bg
   together with the other code that already was handling
   '*.edj'. This makes more sense and will enable the action in
   presence of both versions of wallpaper dialog;

 * e_utils got pieces required by e_bg that could be used elsewhere,
   one is the dialog to query for options to import, the other is what
   really generates the conversion (import) of image->edj.

 * conf_wallpaper: import thing is way too messy, needs cleaning or
   removal. I don't care much about it as I plan to improve wallpaper2
   instead.



SVN revision: 44556
2009-12-18 22:20:08 +00:00
Christopher Michael b1734750c9 Traps for landscape mode when moving top_shelf or bottom_panel (so we don't
move the panel(s) if it's in a custom location).




SVN revision: 44550
2009-12-18 17:51:35 +00:00
Vincent Torri 7c1f80aefe declare alloca where needed and make it portable
SVN revision: 44544
2009-12-18 13:52:23 +00:00
Vincent Torri 905a80f421 redefine static inline functions to normal functions
SVN revision: 44539
2009-12-18 12:31:24 +00:00
Christopher Michael 6ffaf58927 Some safety checks to make sure we return a border, else calls to policy are
useless.



SVN revision: 44535
2009-12-18 05:17:03 +00:00
Christopher Michael 5b136293e1 Remove drag structure from Window structure. Not needed now.
SVN revision: 44531
2009-12-18 00:03:43 +00:00
Christopher Michael fbf2f44a55 Add some handy functions for getting top_shelf/bottom_panel position and size.
SVN revision: 44530
2009-12-17 23:47:48 +00:00
Christopher Michael 7991d5bd15 Don't need to set drag == 0 here...drag_end client message handles that.
SVN revision: 44529
2009-12-17 23:42:12 +00:00
Christopher Michael 13856e38f5 Remove old drag code for indicator & illume2. Drag of top shelf is now
handled almost entirely by the top shelf itself. This removes the
input_window also.



SVN revision: 44528
2009-12-17 23:36:07 +00:00
Gustavo Sverzut Barbieri 8a8025c6d8 e_bg: improvements and start import process (unfinished!)
I ran out of time, so if someone wants to finish the move of
e_int_config_wallpaper_import.c to standard e_bg.c I appreciate the
help. Skeleton is there.

With this, it is possible to remove code from conf_wallpaper and have
that functionality in both wallpaper and wallpaper2.



SVN revision: 44527
2009-12-17 23:05:51 +00:00
Gustavo Sverzut Barbieri 9710ec6536 e_bg: delete trailing whitespace.
SVN revision: 44526
2009-12-17 21:59:23 +00:00
Gustavo Sverzut Barbieri 79e6a724e7 'set as wallpaper': simpler and faster.
* allow path and dev to be handled by eina_stringshare_replace() and
   thus if they were the last reference, we do not remove from share
   to add them again.

 * just call save queue and set as wallpaper if something actually changed.




SVN revision: 44525
2009-12-17 21:49:18 +00:00
Gustavo Sverzut Barbieri b36699e97c don't use EAPI for functions that should not be available outside module!
SVN revision: 44524
2009-12-17 21:41:31 +00:00
Vincent Torri 85b159255d tempget:
* small cleanup
 * allow compilation on opensolaris

This modules does not work on opensolaris. I don't know that stuff,
so I have no idea of what to do to fix that


SVN revision: 44522
2009-12-17 08:22:39 +00:00
Vincent Torri 18db67b1fb batget:
* some cleanup
 * allow compilation with opensolaris


SVN revision: 44521
2009-12-17 08:20:37 +00:00
Christopher Michael d567df75c6 Remove config variables for locking.
Send mode to root window so we can lock/unlock indicator window on startup.



SVN revision: 44518
2009-12-16 21:39:04 +00:00
Christopher Michael f9c88ca73e Handle dragables a bit better. This also removes the config option from the
config dialog for locking.



SVN revision: 44517
2009-12-16 21:13:48 +00:00
Christopher Michael ae8da17111 Add config options to lock dragables.
Cleanup some code.



SVN revision: 44515
2009-12-16 20:12:49 +00:00
Christopher Michael 25c0bb4df8 Remove menu from home...not needed.
SVN revision: 44514
2009-12-16 20:10:09 +00:00
Christopher Michael a0b971ee07 Make config gadget use a button instead of just an icon.
(This is needed because mouse_down on the icon was messing with illume
indicator drag)



SVN revision: 44513
2009-12-16 20:07:35 +00:00
Christopher Michael 413aa78937 Remove unnecessary code (layer set, resizes, etc).
Disable instance edit on the gadcon.
Add code to check illume drag locked state and allow dragging accordingly.



SVN revision: 44512
2009-12-16 19:44:46 +00:00
Christopher Michael 068ac54414 Remove a printf.
SVN revision: 44503
2009-12-16 03:08:54 +00:00
Christopher Michael d6b8d01380 Remove more old drag code.
SVN revision: 44499
2009-12-16 02:31:52 +00:00
Christopher Michael 61a1cca0b7 Remove old drag code.
Use new illume drag code. This makes indicator dragable :)



SVN revision: 44496
2009-12-16 02:23:39 +00:00
Christopher Michael 327fef16fd Remove dnd files. Handled it differently.
SVN revision: 44495
2009-12-16 02:22:34 +00:00
Christopher Michael 123a6e786e Add drag_start and drag_end to policy.
Remove old dead code.



SVN revision: 44493
2009-12-16 02:21:28 +00:00
Christopher Michael ea55ee51a0 No need to release grabinput twice. This was already done a few lines above.
SVN revision: 44479
2009-12-16 00:43:29 +00:00
Massimo Maiurana 72f66136ae added greek translation
SVN revision: 44477
2009-12-15 11:44:56 +00:00
Christopher Michael c3ee81779a Catch when drag finished and printf some debug info.
SVN revision: 44475
2009-12-15 08:25:09 +00:00
Christopher Michael e707acdeb3 More work on dnd for indicator bar (not complete yet).
SVN revision: 44474
2009-12-15 08:24:40 +00:00
Christopher Michael 6e6f62b60c Enable dragging of indicator bar (drop not complete yet).
SVN revision: 44473
2009-12-15 07:53:35 +00:00
Christopher Michael 23aa71925c Start of dnd code for dragging indicator bars.
SVN revision: 44472
2009-12-15 06:55:37 +00:00
Christopher Michael 7ad967ee23 Add separate vkbd toggle gadget.
SVN revision: 44462
2009-12-15 04:33:12 +00:00
Christopher Michael cfe205e65c Remove gadget from keyboard module.
SVN revision: 44461
2009-12-15 04:32:16 +00:00
Christopher Michael 6eb831933d Remove old code.
SVN revision: 44460
2009-12-15 04:02:08 +00:00
Christopher Michael 6488b1d7d7 Better placement of 'dialog' types for portrait mode.
SVN revision: 44459
2009-12-15 02:11:32 +00:00
Christopher Michael 652069d580 More appropriate place for border layers on fullscreen & conformant.
SVN revision: 44458
2009-12-15 01:51:19 +00:00
Christopher Michael b6001850ee Reenable layering of dialogs.
SVN revision: 44457
2009-12-15 01:35:09 +00:00
Christopher Michael 47cbcc03ae Don't focus activated if focus is locked out.
SVN revision: 44456
2009-12-15 00:12:26 +00:00
Christopher Michael 0f2e260558 Rework illume layout code to be cleaner WITH comments :)
Much much much better layout code. I believe this handles ALL cases now :)



SVN revision: 44454
2009-12-14 23:49:36 +00:00
Christopher Michael eb8d577866 Handle resizing border when vkbd appears. Works for single mode and dual
mode (top & bottom).



SVN revision: 44438
2009-12-14 06:56:43 +00:00
Christopher Michael 50e925ff40 Formatting.
Rename function to be focus_in.



SVN revision: 44437
2009-12-14 06:55:34 +00:00
Christopher Michael 627ff5934f When a border needs fullscreen, set it.
SVN revision: 44431
2009-12-13 20:03:18 +00:00
Christopher Michael 393fb5cef5 Hide top & bottom panels when border is fullscreen.
SVN revision: 44430
2009-12-13 19:47:05 +00:00
Christopher Michael 1b14226912 Formatting. Fix comments.
SVN revision: 44427
2009-12-13 18:14:24 +00:00
Christopher Michael d578a3f0f2 Make 'home' a bit faster. We don't need icon, label, etc, here as we never
make use of them anyway.



SVN revision: 44425
2009-12-13 17:46:14 +00:00
Christopher Michael d51a62dceb Handle client messages for back & close.
SVN revision: 44400
2009-12-12 01:11:05 +00:00
Christopher Michael 9452fba9fe Trap for illume_mode client messages.
SVN revision: 44386
2009-12-11 21:13:40 +00:00
Samuel F. Baggen a54753e2e4 systray: we dont want an ugly white box when there's no elements on the systray
SVN revision: 44377
2009-12-11 18:00:07 +00:00
Christopher Michael 8d1cc9b70c Formatting.
SVN revision: 44357
2009-12-11 09:36:07 +00:00
Christopher Michael 91745f2f2e Remove commented line. Not needed.
SVN revision: 44356
2009-12-11 09:35:48 +00:00
Christopher Michael 62c83dfff3 Set keyboard as sticky.
SVN revision: 44354
2009-12-11 09:34:52 +00:00
Christopher Michael 2c767bf9e4 Let layout policy handle kbd sticky.
Add a gadget for containers that allows manual keyboard visibility setting.



SVN revision: 44353
2009-12-11 09:34:35 +00:00
Christopher Michael e50685aea2 Better tracking of launched exe's. No more seggies :)
SVN revision: 44348
2009-12-11 04:10:40 +00:00
Christopher Michael 374b78a8dc Don't treat config dialogs as special anymore. They also can work w/ dual
app mode.



SVN revision: 44346
2009-12-11 02:56:07 +00:00
Christopher Michael ffb78f4b8f Use current zone instead of always zone 0.
SVN revision: 44344
2009-12-11 02:40:11 +00:00
Christopher Michael fe9c5f663c Handle conformant apps in both dual modes now.
SVN revision: 44343
2009-12-10 18:14:32 +00:00
Christopher Michael aa162a93c1 No need to set 'writeline' more than once here.
SVN revision: 44336
2009-12-10 16:25:21 +00:00
Christopher Michael cc182dbc16 fix typo.
SVN revision: 44335
2009-12-10 16:20:23 +00:00
Christopher Michael 82d1609fd6 Handle dual-mode left/right setting.
SVN revision: 44334
2009-12-10 15:25:23 +00:00
Christopher Michael 06a58496d9 Config dialogs take up all zone space even in dual mode (until I'm told
otherwise).



SVN revision: 44282
2009-12-08 16:03:57 +00:00
Christopher Michael bdc94ad338 Set the ecore_exe tag before we start the timers.
SVN revision: 44268
2009-12-08 00:06:49 +00:00
Christopher Michael c837af137b Don't NULL out exe here (this was causing a lot of quiet errors wrt
ecore_exe_pid_get because inst->exe was NULL).



SVN revision: 44267
2009-12-07 23:55:01 +00:00
Christopher Michael 0d1fb60692 Unregister dnd when we delete the window.
SVN revision: 44266
2009-12-07 23:03:26 +00:00
Christopher Michael e2cdea1c17 Apply recent Numbers.kbd patch from Jens Seidel to fix incorrect key being
displayed.



SVN revision: 44265
2009-12-07 22:59:32 +00:00
Christopher Michael 826585e009 Patch from Jens Seidel to fix incorrect key being displayed.
SVN revision: 44264
2009-12-07 22:58:38 +00:00
Christopher Michael 7db412afee Make illume-home do drag n drop (works between 2 'home' windows also) :)
SVN revision: 44263
2009-12-07 21:59:34 +00:00
Christopher Michael 2a9896243e Pop the message off of busycover if we delete this window.
SVN revision: 44262
2009-12-07 21:49:50 +00:00
Christopher Michael afaa1dfd29 Add timeout for desktop run.
Add busycover handle so we can push/pop messages.



SVN revision: 44261
2009-12-07 21:44:08 +00:00
Christopher Michael f95bb4526e Make basic dual mode work :) (this does not cover conformant apps yet, just
'basic' apps).



SVN revision: 44260
2009-12-07 21:14:28 +00:00
Christopher Michael 40d60d8c56 Make illume-home keep track of any apps it runs, so we can uniconify the
border if user tries to run it again.



SVN revision: 44236
2009-12-07 03:42:53 +00:00
Christopher Michael 3cb7d0f0e1 Fix up some formatting.
SVN revision: 44233
2009-12-07 01:55:18 +00:00
Christopher Michael a50456436b Don't move_resize a border if the dimensions are already set.
SVN revision: 44232
2009-12-07 00:32:39 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Christopher Michael 3b095fa6ec Trap for config dialogs in conformant check.
SVN revision: 44227
2009-12-06 19:16:49 +00:00
Christopher Michael 50f6c36b93 Don't need to show/hide "special windows" here. Handled in the
border_add/del functions.



SVN revision: 44226
2009-12-06 19:08:45 +00:00
Sebastian Dransfeld 8a2f2981ed Fix Ticket #306
After we send the drop to the target it can take a while before it is
acknowledged. So release grab and hide input window so we can continue
working.

SVN revision: 44223
2009-12-06 18:03:35 +00:00
Christopher Michael c91b7a42f3 Use new ecore_x_e_illume_conformant functions.
Add functions to get top_shelf & bottom_panel borders so we can hide/show
them.
If a conformant app window gets closed, reshow the top & bottom panels.



SVN revision: 44221
2009-12-06 17:32:31 +00:00
Christopher Michael 9989e6dddd Don't raise or focus a border if it's a "special" border.
SVN revision: 44218
2009-12-06 16:29:56 +00:00
Christopher Michael 3f55fcf7f4 Add ability for policy to handle activate code itself.
SVN revision: 44217
2009-12-06 16:17:39 +00:00
Christopher Michael ca0ebba0e4 Add function to test for a border at certain position.
SVN revision: 44216
2009-12-06 15:57:05 +00:00
Christopher Michael 63a836412c Handle netwm active requests.
SVN revision: 44206
2009-12-05 23:41:33 +00:00
Christopher Michael fc7e636c1f just some formatting I noticed while reading code.
SVN revision: 44205
2009-12-05 23:36:42 +00:00
Christopher Michael 74bbbf4bf4 Remove printf.
SVN revision: 44203
2009-12-05 17:29:45 +00:00
Christopher Michael 90823471a2 Make illume-home focus any apps it starts.
Make Prev button work in softkey so we can traverse the running apps.



SVN revision: 44202
2009-12-05 17:28:35 +00:00
Christopher Michael 781568dc46 Add function to return valid borders.
Focus any newly added borders.
Remove any remaining layer_set(s).



SVN revision: 44201
2009-12-05 17:27:30 +00:00
Christopher Michael e7ebfb7003 Focus the home window when created.
SVN revision: 44199
2009-12-05 16:48:42 +00:00
Christopher Michael f7058ca20b Don't use layers for layout code.
SVN revision: 44195
2009-12-04 23:33:56 +00:00
Christopher Michael 266745adc3 Make single-click timeout shorter by default.
SVN revision: 44192
2009-12-04 23:24:57 +00:00
Christopher Michael ff96a40305 Fix all this config window class mess once and for all. Now using the config
registry path for window class correctly in that when the module(s) shut
down, the will kill the dialogs.



SVN revision: 44191
2009-12-04 22:37:18 +00:00
Massimo Maiurana 1aa44b0081 adding french and italian translations
SVN revision: 44177
2009-12-03 19:20:06 +00:00
Christopher Michael e300511319 Fix the last of the config dialog problems
SVN revision: 44164
2009-12-03 04:46:49 +00:00
Christopher Michael 2efe006bfa Fix more config dialog window class mess :(
SVN revision: 44163
2009-12-03 04:42:53 +00:00
Christopher Michael 61ca8ae5f5 Fix more of this config dialog window class mess
SVN revision: 44162
2009-12-03 04:33:27 +00:00
Christopher Michael c5a3abeff3 Fix a few more config dialog window class problems...love to know who was
responsible for this mess.



SVN revision: 44161
2009-12-03 04:25:39 +00:00
Christopher Michael a807f56a96 Fix a few more config dialog window class problems.
SVN revision: 44160
2009-12-03 04:22:29 +00:00
Christopher Michael 69fa1736c0 Fix a few more config dialog window class problems.
SVN revision: 44159
2009-12-03 04:19:36 +00:00
Christopher Michael 70e9d80c6c Fix more config dialog window class problems.
SVN revision: 44158
2009-12-03 04:16:43 +00:00
Christopher Michael 6b8ba302fa Fix another module for improper config dialog window class.
SVN revision: 44157
2009-12-03 04:11:02 +00:00
Christopher Michael 0d6efd18c9 Fix E crash when module is unloaded while dialog is up.
ATTN Devs:
--------------------------
SOMEONE changed all the window class settings for these modules, 
so now when a module gets unloaded, the respective config dialogs are 
not closed, leading to E crashes.

An Example if someone wants to tackle changing all these cause I don't have
the time right now:

e_modapi_shutdown
--------------------------
while ((cfd = e_config_dialog_find("E", "_config_desk_dialog")))
  e_object_del(E_OBJECT(cfd));

You will see a ton of these lines in e/src/modules. Basically, when the
config dialog gets created, we assign a icccm name & class to that dialog:

e_config_dialog_new(con, _("Label"), "E", "_config_desk_dialog");

The class needs to match what is used in e_modapi_shutdown !!!

In just about every existing module in e/src/modules/, the class names are
not set correctly when the dialog gets created. This needs fixing badly !!!




SVN revision: 44156
2009-12-03 04:00:34 +00:00
Christopher Michael 8a2b59f850 Remove useless lines.
SVN revision: 44155
2009-12-03 03:53:16 +00:00
Christopher Michael 61d7e4d883 Use proper config dialog window class. Fixes issue where E crashes if the
wallpaper dialog is open and then the module gets unloaded.



SVN revision: 44154
2009-12-03 03:46:28 +00:00
Christopher Michael 4042dda53a Use proper config dialog window class, so that when the module gets
unloaded, any existing dialogs are killed. This stops a crash that was
happening if the module was unloaded while the dialog was shown.



SVN revision: 44153
2009-12-03 03:41:24 +00:00
Christopher Michael 8120ca1861 Make home window appear when module starts. The makes 'home' up by default.
SVN revision: 44143
2009-12-02 22:29:29 +00:00
Christopher Michael 42c80e1924 Change layer. Make it above softkey, but below dialogs if it's a conformant
app.



SVN revision: 44121
2009-12-02 18:35:02 +00:00
Christopher Michael cead02f0eb If a border is conformant, set layer to above the bottom_panel (softkey).
SVN revision: 44120
2009-12-02 18:33:05 +00:00
Carsten Haitzler 184ba91e63 asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Christopher Michael 34b550e7e2 Add check for conformant app when calculating size/position.
SVN revision: 44112
2009-12-02 01:38:23 +00:00
Christopher Michael 1f6d1d1bea Add function to determine if an app is conformant.
SVN revision: 44111
2009-12-01 21:39:51 +00:00
Christopher Michael 540383bfe7 Start work on dual-mode window sizing/position.
SVN revision: 44109
2009-12-01 20:51:30 +00:00
Christopher Michael a94c2e4e6b Better default config (proper window matches).
SVN revision: 44108
2009-12-01 20:31:05 +00:00
Christopher Michael 7ad2dd4a19 Add 'changed' signal to update config.
Disable Window Layout radios when in single app mode.



SVN revision: 44107
2009-12-01 20:19:42 +00:00
Christopher Michael 14ca5d2c57 Formatting.
SVN revision: 44103
2009-12-01 18:38:00 +00:00
Christopher Michael dced54c0bb Make policy handle if top shelf, bottom panel, etc, are sticky.
SVN revision: 44086
2009-12-01 10:07:24 +00:00
Christopher Michael 72567b1a15 actually add the gadcon files.
SVN revision: 44084
2009-12-01 09:41:08 +00:00
Christopher Michael bb93738ae9 Remove EAPI from functions that do not need it.
Create a gadget that can be added to gadcons for switching policy dual-app
mode.



SVN revision: 44083
2009-12-01 09:40:30 +00:00
Christopher Michael 780be7b98c Remove nasty commented lines.
Remove whitespace.



SVN revision: 44082
2009-12-01 08:44:36 +00:00
Christopher Michael dc385d2fb5 Don't set icon size twice in fmc config.
Add translatable string.



SVN revision: 44081
2009-12-01 08:29:44 +00:00
Christopher Michael c2f74ada98 No need for these functions to be EAPI.
Update any existing fm windows when config changes.



SVN revision: 44080
2009-12-01 08:17:21 +00:00
Christopher Michael 8a0f1bc926 Fix up some typos.
Add some comments.



SVN revision: 44079
2009-12-01 08:01:20 +00:00
Christopher Michael d12d3c3e23 This function moved to e_mod_policy_settings files. Not needed here.
SVN revision: 44078
2009-12-01 05:48:18 +00:00
Christopher Michael 310069f653 Add config variables for dual-app mode.
Add a config dialog for changing dual-app mode.
Rename timer in Select Window to be more specific.



SVN revision: 44077
2009-12-01 05:43:04 +00:00
Christopher Michael cc05979308 Don't use transient_set on the 'Select Window' config dialog.
No need for a return on a new select window.
Don't select an item in the 'Select Window' ilist unless it matches.



SVN revision: 44076
2009-12-01 04:40:02 +00:00
Christopher Michael 58306378fd Better window class & name for vkbd.
SVN revision: 44075
2009-12-01 04:23:18 +00:00
Christopher Michael fb6e867677 Add config dialog for selecting the policy.
SVN revision: 44071
2009-11-30 21:46:30 +00:00
Christopher Michael 1ed657d3fd Delete the change timer if it exists when we close the config window.
SVN revision: 44069
2009-11-30 21:28:58 +00:00
Christopher Michael 5d6199390e Add separate file for Window Selection.
Add code to handle selecting which window will be home, vkbd, etc.



SVN revision: 44068
2009-11-30 21:02:47 +00:00
Vincent Torri f6b0251f3a 'return' not needed here
Patch by Andreas Nilsson

SVN revision: 44064
2009-11-30 19:10:35 +00:00
Vincent Torri 13807df5a3 'return' not needed here
SVN revision: 44058
2009-11-30 18:22:42 +00:00
Christopher Michael be097916dc Make home display "appshadow" directory again.
SVN revision: 44033
2009-11-27 21:05:21 +00:00
Christopher Michael 028496de15 Add checks in layout code to match windows based on what user wants (match
name, class, etc, etc).



SVN revision: 44031
2009-11-27 20:50:00 +00:00
Christopher Michael ebd62de75e Fix formatting in layout.c
Add config dialog options for selecting all windows.



SVN revision: 44029
2009-11-27 20:27:07 +00:00
Christopher Michael 988ada83ad Add config for matches.
Add checks & buttons to config dialog for selecting window and matches.
Fix typo w/ config struct.



SVN revision: 44028
2009-11-27 19:23:21 +00:00
Christopher Michael 099e03498e Remove some printfs.
Add config struct for Indicator Window.



SVN revision: 44026
2009-11-27 18:16:51 +00:00
Christopher Michael d5972250a4 Add config category & items.
Add config dialogs for Animation settings & Window settings.
Free the E_Config_DD when exiting.



SVN revision: 44024
2009-11-27 18:02:55 +00:00
Christopher Michael e6e807adec Better window name/class.
SVN revision: 44018
2009-11-27 17:21:09 +00:00
Christopher Michael 536e398969 Whitespace removal.
Add some printfs to start working on window stacks.



SVN revision: 43986
2009-11-25 19:35:24 +00:00
Christopher Michael 3598e6ca4a Fix some formatting & remove whitespace.
SVN revision: 43985
2009-11-25 18:55:15 +00:00
Christopher Michael 56197c776c Add e.swallow.extra_buttons to illume-softkey (for ability to swallow other
buttons).
Formatting in illume2.
Remove EAPI from functions in both softkey & indicator modules for functions
that do not need to be exposed.



SVN revision: 43984
2009-11-25 18:01:42 +00:00
Christopher Michael 487baaef8f Use #if 0 rather than a bunch of comments.
(These lines disabled currently so that we always get a vkbd for testing.
Reenable before release)



SVN revision: 43981
2009-11-25 17:08:53 +00:00
Christopher Michael f4b829b560 Don't set layer of window or objects, illume2 will do that.
Some minor formatting.



SVN revision: 43980
2009-11-25 17:06:04 +00:00
Christopher Michael 68aef83e50 Rename some functions so they do not conflict w/ illume-softkey.
SVN revision: 43976
2009-11-25 16:59:06 +00:00
Christopher Michael ab5c718915 Reenable skip_pager, skip_taskbar, and accepts_focus.
SVN revision: 43975
2009-11-25 16:58:34 +00:00
Christopher Michael aa2fc5cf16 Rename a couple of functions as they conflict w/ the indicator module.
SVN revision: 43974
2009-11-25 16:56:22 +00:00