Commit Graph

404 Commits

Author SHA1 Message Date
Mike Blumenkrantz 558c9e0285 add pager config option just for enabling live window previews -- off by default
SVN revision: 73587
2012-07-11 17:48:05 +00:00
Mike Blumenkrantz eef8d26710 save live preview settings for pager
SVN revision: 73586
2012-07-11 17:38:08 +00:00
Mike Blumenkrantz 11215e3663 who likes features? eh? EH? pager gadget now gets semi-live updating of windows when comp module + live updating is enabled
small bug: don't try resizing windows with this activated or it'll crash you without a white box


SVN revision: 73585
2012-07-11 17:36:50 +00:00
Mike Blumenkrantz 1798b70bd4 in further testing, ticket #1155 does not exist and is, in fact, a heisenbug
SVN revision: 73576
2012-07-11 13:18:57 +00:00
Mike Blumenkrantz 22775c508a add event handler to pager to handle wallpaper changes; see ticket #1155 for the bug that this works around
SVN revision: 73574
2012-07-11 13:02:03 +00:00
Mike Blumenkrantz a883c59c02 toggling pager's 'show desktop names' now properly toggles constant display of desktop names
SVN revision: 73563
2012-07-11 10:53:07 +00:00
Mike Blumenkrantz d2254253be pager module now uses deskpreview to show full, realtime previews of desktops; option to disable can be found in pager settings
ticket #141


SVN revision: 73555
2012-07-11 08:50:52 +00:00
Mike Blumenkrantz 9f4057044c fix a bug where dragging a maximized window using the pager would cause that window to disappear from the pager
also fix drag of maximized windows using pagers in general
ticket #1037


SVN revision: 73327
2012-07-05 07:18:49 +00:00
Mike Blumenkrantz 84d81fc63e use edje min size for pager desks and freeze table while adding desks to prevent unnecessary recalcs
SVN revision: 73221
2012-07-03 10:40:39 +00:00
Mike Blumenkrantz 8fbf0e7f68 formatting
SVN revision: 72797
2012-06-25 10:48:42 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 3ccb0c6b95 fix pager id saving, fixes #684 and also deletes your pager configs
SVN revision: 72586
2012-06-21 10:42:04 +00:00
Vincent Torri 9d9ce41db0 E17: fix some warning
SVN revision: 71233
2012-05-18 13:02:20 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Chidambar Zinnoury bc0ae06616 e pager: check zone when adding a border.
When a window is sticky and a pager is created (when restarting the window manager for instance), not checking zones makes the window being shown everywhere - on every screen


SVN revision: 70183
2012-04-14 12:13:16 +00:00
Lucas De Marchi 8c153f8f26 Don't signal urgency hint when window has focus
SVN revision: 65538
2011-11-23 13:03:02 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Mike Blumenkrantz fe4b68060e yet enother unused var
SVN revision: 64911
2011-11-07 23:36:56 +00:00
Hannes Janetzek 907f739312 e17/pager: always show virtual desktop settings in top-level menu
SVN revision: 58002
2011-03-22 23:07:30 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Mike Blumenkrantz 6d87da8c14 yet another null deref
SVN revision: 56151
2011-01-16 01:34:05 +00:00
Mike Blumenkrantz 9224fcdb23 avoid null deref
SVN revision: 55721
2010-12-22 23:23:47 +00:00
Mike Blumenkrantz 6dd6c9bc89 another comment
SVN revision: 55704
2010-12-22 22:41:26 +00:00
Mike Blumenkrantz 75f95cebe2 add comment
SVN revision: 55701
2010-12-22 22:31:24 +00:00
Boris Faure e9d8b9b3a7 pager: add config whether to show urgent popup on focused windows
SVN revision: 54464
2010-11-11 17:58:23 +00:00
Sebastian Dransfeld 32a8f5160d Fix dnd working with reference coords.
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld 2a048b5005 gadcon helper functions
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld 7ec3dd0f41 Right drop target size
If we are in an autoscroll container, use it's size as drop target

SVN revision: 54328
2010-11-08 14:05:29 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Christopher Michael 5034dc5d5f Add UNUSED where needed.
SVN revision: 51403
2010-08-19 15:20:05 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Lucas De Marchi c426218dfe Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Cedric BAIL 1e81ac0d3b * pager: Don't double del timer.
SVN revision: 50197
2010-07-12 14:02:15 +00:00
Christopher Michael 4798504a46 Missed one place where __UNUSED__ was not proper. Fix.
SVN revision: 49938
2010-06-29 15:22:18 +00:00
Christopher Michael 4a554402f2 Fix the mess called pager:
- Use PATH_MAX & E_FREE
 - Make use of __UNUSED__ correctly.
 - Fix formatting.
 


SVN revision: 49937
2010-06-29 15:19:48 +00:00
Cedric BAIL 2e92d43a46 * e: cleanup pager code.
SVN revision: 49855
2010-06-25 08:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek bfbd5f09d2 fix refocus window below issue with pager popup action
SVN revision: 48932
2010-05-17 00:41:28 +00:00
Hannes Janetzek 082f1dd1f7 added pager pop action for next/prev desk
SVN revision: 48514
2010-05-01 18:22:28 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Carsten Haitzler 0ebccbedbf fix pager - how did that break? oooh i see! DEVILHORNS!
SVN revision: 45029
2010-01-11 02:58:47 +00:00
Sebastian Dransfeld 821ba7d77e Don't move windows relative to shelves on pager
Pager windows should be set on pager where they actually are on the
desktop. So if they are behind a shelf, they should be behind it in the
pager.

This fixes bug #445.

SVN revision: 45025
2010-01-10 20:46:32 +00:00
Hannes Janetzek 7935aebb1f disable move in pager for now. as it leads to lost window if one drops between the desks
SVN revision: 42380
2009-09-10 13:51:12 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Gustavo Sverzut Barbieri 609964ff1a unbreak pager and mouse wheel.
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.

the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.

I cannot test this now, please say if it does not work.



SVN revision: 40616
2009-05-13 11:38:12 +00:00
Christopher Michael 06692e1e18 Lots of formatting fixes. Clear the text label in the pager desks if
Show Desktop Names is not enabled. Currently, any changes made to the 
pager module config require the pager module to be restarted (or E 
restarted). This should be addressed before a 1.0 release.


SVN revision: 40443
2009-04-28 15:29:56 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Viktor Kojouharov 30b11d23c8 add a urgent show function on the gadcon level and use that
(p.s. it's a good idea to recompile any extra module that you might use)


SVN revision: 39686
2009-03-24 16:08:37 +00:00
Viktor Kojouharov 4c074624bf pop the shelf if there's no popup
SVN revision: 39680
2009-03-24 14:22:54 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Gustavo Sverzut Barbieri 22df734bfc fix possible segv with pager, caught by clang.
If no pager exists on given zone and popup is urgent, it would segfault.



SVN revision: 38558
2009-01-12 18:51:56 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael a9f9017432 No need to get Width & Height, they are not used here.
SVN revision: 37544
2008-11-08 05:54:39 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Sebastian Dransfeld 94cbe9dcc2 No need to check for delete border, as border now cleans up drag.
SVN revision: 37246
2008-10-27 14:15:56 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Chidambar Zinnoury f9ea21e172 Check if current desktop is the same as previous one to prevent to prevent signals from being resent.
SVN revision: 36454
2008-10-05 17:45:13 +00:00
Chidambar Zinnoury 3cd8bd2a93 Remove a segfault when a border has been closed before the drop actually happened (maybe display a notification to user?)
SVN revision: 36453
2008-10-05 17:42:50 +00:00
Gustavo Sverzut Barbieri e051adccc7 pager: raise selected desktop before sending signal.
raises selected desktop before sending it the "e,state,selected"
signal so that animation won't be hidden by adjacent desktops.

Patch by Chidambar 'ilLogict' Zinnoury.


SVN revision: 36444
2008-10-05 13:50:35 +00:00
Gustavo Sverzut Barbieri d1f5aeb033 Fix dimension computation.
Patch by Chidambar 'ilLogict' Zinnoury.


SVN revision: 36423
2008-10-03 20:07:36 +00:00
Carsten Haitzler b3fa7a32d0 and remove more fake calls.
SVN revision: 36230
2008-09-25 01:37:38 +00:00
Viktor Kojouharov aeb7c1642a ecore_x:
* in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window
  * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events

e:
  * make sure e_manager_current_get returns the correct manager for the current screen
  * fix various modules to use the correct window, when dealing with events


SVN revision: 34705
2008-05-30 22:30:57 +00:00
Hannes Janetzek 15ce9ac71b allow to switch to desks with fullscreen windows that are set to lock user from change position.
catched by loquens


SVN revision: 33484
2008-01-14 15:23:49 +00:00
Hannes Janetzek ce96d3da09 remove duplicated code
change text to e.text.label


SVN revision: 33473
2008-01-13 20:15:22 +00:00
Sebastian Dransfeld 8067490208 Add return value.
SVN revision: 33460
2008-01-12 08:00:13 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Sebastian Dransfeld fd0f6ce1b9 Fix compiler warnings.
SVN revision: 33423
2008-01-10 07:40:25 +00:00
Hannes Janetzek 24b6eb6bae yea, looks nicer without substraction
SVN revision: 33391
2008-01-08 16:26:14 +00:00
Sebastian Dransfeld 7bebd67e20 No need to subtract 1
SVN revision: 33389
2008-01-08 06:01:24 +00:00
Hannes Janetzek c86c54a816 remove unused variable
SVN revision: 33384
2008-01-08 00:52:37 +00:00
Christopher Michael 1bbbb5b8db Fix formatting.
SVN revision: 33383
2008-01-08 00:45:12 +00:00
Hannes Janetzek b9ac1c91bd add mouse wheel control to pager popup
SVN revision: 33382
2008-01-08 00:30:21 +00:00
Hannes Janetzek 9aa1837a99 better naming for actions
replace whitespaces with tabs


SVN revision: 33379
2008-01-07 02:31:52 +00:00
Hannes Janetzek e03ecc4766 dont show urgent popup if the border is iconified
SVN revision: 33378
2008-01-07 01:46:53 +00:00
Hannes Janetzek 963bf6eaa6 added keybindings to trigger to show the pager popup and to cycle through
desks without immediately switching to another desk. one switches the selected
desk if all modifier keys are left. (just think of the winlist behaviour :)
it is also possible to manipulate the pager popup by mouse like a shelf pager


SVN revision: 33376
2008-01-07 01:30:02 +00:00
Sebastian Dransfeld 367038c6ee Fix check for correct pager popup.
Add return values.


SVN revision: 33340
2008-01-04 07:40:17 +00:00
Christopher Michael 9cf5076159 Modified Patch from hannes Janetzek (jeffdame1h) for fixing pager popup always having
same size as shelf & problem of having 2 pagers in one zone.


SVN revision: 33139
2007-12-14 22:30:44 +00:00
Sebastian Dransfeld 8ab0fc06b2 Use correct event structs.
SVN revision: 32545
2007-11-10 18:54:45 +00:00
Carsten Haitzler 2405363f94 errrr. commit? did the last one work?
SVN revision: 32232
2007-10-31 12:23:15 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Miculcy Brian 348c00eed6 Don't show menu entry for configuring virtual desktops if conf_desks isn't loaded.
SVN revision: 31199
2007-08-06 23:35:13 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Carsten Haitzler 2e875d3805 various patches from the devel mailing list in - and fixed where needed.
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler 371504515f abstract config dialogs more - include params.
SVN revision: 30588
2007-07-04 11:11:03 +00:00
Carsten Haitzler 34ce52f83c fix another bug - move started while resizienand vice-versa is bad. disallow.
SVN revision: 30296
2007-06-10 04:39:52 +00:00
Carsten Haitzler ff35e5804c fix window if it changes pager skip flag while its up.
SVN revision: 30295
2007-06-10 04:34:23 +00:00
Eric Schuele c5d4436618 Tweak GUI. Fix users ability to disable the slide/drag buttons.
SVN revision: 29600
2007-04-19 16:57:47 +00:00
Carsten Haitzler 93aabd730b pager urgent popup patch - good
evas clipouts less allocs patch - definite spedusp for when it's used heavily!


SVN revision: 29331
2007-04-04 09:55:40 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Christopher Michael b665b3f114 Fix some horrid formatting issues.
SVN revision: 28203
2007-02-03 02:44:59 +00:00
Sebastian Dransfeld 6d66dbb271 Reset test to button 1 to select desk.
SVN revision: 28097
2007-01-21 21:36:17 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld f03791e7b6 Formatting.
SVN revision: 27737
2007-01-02 19:37:11 +00:00
Sebastian Dransfeld 239f6f9b06 Use config button value to test against.
SVN revision: 27736
2007-01-02 19:35:15 +00:00
Sebastian Dransfeld 2320ea99b8 This is reset when dragging starts.
SVN revision: 27735
2007-01-02 19:32:06 +00:00
Sebastian Dransfeld 3ca822502f This is already 0 when dragging begins.
SVN revision: 27734
2007-01-02 19:28:37 +00:00
Sebastian Dransfeld de00355874 No need to track the drag, as it is assured to be deleted by the dnd code
after e_drag_start has been called.


SVN revision: 27733
2007-01-02 19:14:45 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Christopher Michael b000e0e44d Minor formatting fix.
SVN revision: 27273
2006-11-29 09:14:45 +00:00
Carsten Haitzler 815e1699c7 patches from people (see mail list) and stuff.
SVN revision: 27174
2006-11-19 08:58:05 +00:00
metrics cb5d8a9cd8 Only send events for the correct pager desks (--FIXME's).
SVN revision: 27168
2006-11-18 05:40:29 +00:00
metrics 7f9999dbf8 More fixes of the autoscroll/drag and drop behaviour for gadgets in
shelves. Added callback to allow the current drop position to be
dynamically updated as the gadget scrolling is animated.


SVN revision: 27114
2006-11-15 06:24:30 +00:00
metrics 86add777e6 Fix pager autoscroll dnd issues.
SVN revision: 27111
2006-11-15 02:49:49 +00:00
Viktor Kojouharov 00dea4b79a don't send the urgent signal to the pager desk, if the border is iconified
SVN revision: 26780
2006-10-24 17:22:59 +00:00
Viktor Kojouharov d2515a119e the pager and iconbox now emit a signal when a border changes state from urgent
to normal and the other way around.

for the themers: the iconbox icon, the pager window and the pager desk, receive
 the signals e,state,urgent and e,state,not_urgent, so you can do something nice
 with those.


SVN revision: 26772
2006-10-24 14:32:22 +00:00
sebastid 11c9afa270 Add cast.
Remove unused variables.


SVN revision: 26102
2006-09-24 13:37:37 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
Viktor Kojouharov 49415b41d1 make the pager flip desks linearly with the mouse wheel.
SVN revision: 25873
2006-09-16 09:44:35 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00
Carsten Haitzler 27369eb3cd remove the pagers wheel handler
SVN revision: 25120
2006-08-26 10:10:42 +00:00
rephorm d0a3102a4a and the modules...
SVN revision: 25060
2006-08-23 04:02:03 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
essiene e4b80ce483 Update core modules to use new default view settings
SVN revision: 24493
2006-08-09 06:38:35 +00:00
Stafford Mitchell Horne 3c02185408 Check for locks when the mouse goes down on a pager_window. If the lock
is there ignore the event to move it.
todo--


SVN revision: 24302
2006-07-29 18:38:12 +00:00
Christopher Michael 643d4da1f6 Cleanup: Fix return value of modapi_init
SVN revision: 24187
2006-07-25 04:15:11 +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
Christopher Michael 0b853ce1dc Revert back to void for e_modapi_init.
SVN revision: 23222
2006-06-06 15:33:44 +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
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
sebastid 7c51b35764 Add const
SVN revision: 23023
2006-05-31 16:19:11 +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 04553720c4 been debugging - but only real change - set env vars.
SVN revision: 22727
2006-05-19 03:57:24 +00:00
Carsten Haitzler 19fd612b97 ibox makes it first gadcon moves.
SVN revision: 22689
2006-05-18 06:30:33 +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
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
Carsten Haitzler 811083bcba more paranoid cleanup of menus
SVN revision: 22283
2006-04-21 15:54:11 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
rephorm 12a989ca1c remove ifdef'd out cruft
SVN revision: 21563
2006-03-29 05:28:15 +00:00
rephorm 5f9a3d1a4f better pager dragging
* drag windows around within pager
  * dnd when going outside of the pager
  * window placed at location in pager of drop
  * window centered under mouse when dropped off of pager


I'm not sure yet to do with original window when dragging off the pager. Right now it stays at last "on pager" location, which is a bit ugly. Should it jump back to the original position? Or disappear entirely?


SVN revision: 21555
2006-03-29 00:35:16 +00:00
handyande 00330faaf9 Move the manipulation of user specified policy flags (ALLOW_OVERLAP and ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code inside modules
SVN revision: 21226
2006-03-12 16:12:59 +00:00
Christopher Michael 3c8fe5f76f Nicer menus...shhh ! :)
SVN revision: 20642
2006-02-20 19:11:22 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
Christopher Michael c35ae8482f Patch from David Stevenson to stop pager module causing E to segfault when setting the number of desks via enlightenment_remote. Tested, works
SVN revision: 19776
2006-01-14 12:30:46 +00:00
handyande 38436c807a Don't create a gadman for the popup (removes the empty gadman container when switching desks in edit mode)
SVN revision: 19722
2006-01-11 13:55:20 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael 6bf7badbe5 If a module has a config dialogue, destroy it on module shutdown
SVN revision: 19576
2006-01-06 21:45:57 +00:00
Carsten Haitzler eff5eeeac7 fix several bugs (cursors for example)... found some more... :)
SVN revision: 19555
2006-01-06 13:56:46 +00:00
Christopher Michael 66734c5392 Fix typo
SVN revision: 19427
2005-12-30 14:21:29 +00:00
Christopher Michael eb4875d024 Fix Config call for current container. Better trapping
SVN revision: 19426
2005-12-30 14:17:21 +00:00
Christopher Michael c2c4c9c176 Remove unused function proto & function
SVN revision: 19387
2005-12-29 16:12:45 +00:00