Commit Graph

6816 Commits

Author SHA1 Message Date
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