Commit Graph

356 Commits

Author SHA1 Message Date
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
Andreas Volz 0d4b7fd890 usability improvement - disable widgets if check disabled
SVN revision: 40151
2009-04-17 20:46:30 +00:00
Andreas Volz 71173bb012 reformated with "astyle -s3" because of inconsistent formating
-> NO CODE CHANGES!


SVN revision: 40150
2009-04-17 20:35:04 +00:00
Vincent Torri de2e6e5be1 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39931
2009-04-10 12:18:36 +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
toma b00b69c435 Module icons... most of them. Some still need some love, but Ill get around to that. Shout out to Sachiel!
SVN revision: 38953
2009-02-05 14:34:01 +00:00
Massimo Maiurana 879511c665 french translations for desktop files
SVN revision: 38890
2009-02-01 15:24:59 +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
Daniel Kolesa e9fb962a08 added Czech translations to trunk/e/src/modules/*/module.desktop.in
SVN revision: 38450
2009-01-04 16:49:28 +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
Chidambar Zinnoury d3d14662d2 And finally recompile all e modules' edje files.
SVN revision: 36696
2008-10-15 19:43:58 +00:00
Cedric BAIL 9e02df4fef Correctly include eina and fix pkg-config description.
SVN revision: 36667
2008-10-15 10:03:45 +00:00
Cedric BAIL d2f7e4da0d Make e depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36627
2008-10-13 16:00:58 +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
toma 74bea17d1d Textblock in. Revised the use of textblock tags and fixed up all the modules to use it more correctly. This style may need to be repeated across all the E-MODULES-EXTRA modules for unification of styles. The altered .desktop files still look perfectly fine on BlingBling and a few other themes Ive tested it with. The textblock style itself could probably do with a little tweaking.
SVN revision: 35776
2008-09-01 15:24:32 +00:00
Carsten Haitzler 190c380c6d fix bins
SVN revision: 35511
2008-08-17 15:03:18 +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
Massimo Maiurana ee431269a7 hu translations for desktop files
SVN revision: 34408
2008-04-30 10:28:40 +00:00
Massimo Maiurana b5260fd925 updated module.desktop.in files with eo localization.
SVN revision: 33868
2008-02-29 18:31:50 +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 841a1e7971 Fix up module descriptions for new width of description box.
SVN revision: 33306
2007-12-30 19:34:57 +00:00
Christopher Michael 6ddfee5511 Fix pager config dialog (thanks jeffdameth).
(darn fat-finger copy/paste) :)


SVN revision: 33187
2007-12-19 20:07:01 +00:00
Christopher Michael 1dcd16286c Better pager module config dialog. Now fits in 640x480.
SVN revision: 33170
2007-12-18 00:46:46 +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
Eric Schuele 552cd506a5 Update many desktop files with some translations. Courtesy of tokyo.
SVN revision: 33009
2007-12-06 05:07:33 +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
Massimo Maiurana 81440c9066 translated strings in italian for modules' .desktop files.
SVN revision: 31794
2007-09-23 20:53: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
Eric Schuele bd949fa4f9 Add comments to various E modules for display in the modules config dialog.
SVN revision: 31502
2007-08-25 21:48:02 +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
Eric Schuele f069d129e5 Slight change in text.
SVN revision: 30841
2007-07-16 03:15:17 +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
Sebastian Dransfeld b8afe0e904 Remove X specific elements from the .desktop files.
Rename the icons so that the get a unique name. This will make it possible
to create a standard (FDO) icon theme for e which supplies these icons
without using custom X- keys.


SVN revision: 28990
2007-03-24 09:23:11 +00:00
Christopher Michael b665b3f114 Fix some horrid formatting issues.
SVN revision: 28203
2007-02-03 02:44:59 +00:00
Christopher Michael b2fbb6b1e0 Use E_FREE for cfdata struct created with E_NEW
SVN revision: 28200
2007-02-03 02:02:49 +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
lok 4d95b45eab Hide the grab window when Delete is pressed.
SVN revision: 27501
2006-12-17 18:48:19 +00:00
Christopher Michael b000e0e44d Minor formatting fix.
SVN revision: 27273
2006-11-29 09:14:45 +00:00
Carsten Haitzler e1415310b3 fix up pager button config
SVN revision: 27210
2006-11-26 04:19:25 +00:00
Christopher Michael 6e8e41cef1 Bind the "grab key" dialog to the pager config dialog like the key_bindings
dialog.


SVN revision: 27209
2006-11-25 21:45:44 +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
Carsten Haitzler 0e1a66cb95 pass make distcheck.
SVN revision: 26452
2006-10-09 15:40:58 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)


SVN revision: 26235
2006-09-30 10:16:24 +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