Commit Graph

8597 Commits

Author SHA1 Message Date
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 c3b300cb3c Newer config with kbd toggle gadget.
SVN revision: 44464
2009-12-15 04:34:18 +00:00
Christopher Michael 57ac085517 Add kbd-toggle module to build.
SVN revision: 44463
2009-12-15 04:33:47 +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