Commit Graph

303 Commits

Author SHA1 Message Date
Carsten Haitzler 7c50b360d8 another example - exebuf goes to a module. it's even a godo demo of how a
moduel can extend the default action set (and remove its action) as well as
extend the default menus.


SVN revision: 31103
2007-08-01 12:37:01 +00:00
Sebastian Dransfeld 060a9b4fff buf isn't dynamic allocated.
SVN revision: 30961
2007-07-24 17:51:45 +00:00
kiwi 24b86e37ce fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Carsten Haitzler 0abfe91b78 morlenux's dialog confirmation patch
SVN revision: 29931
2007-05-10 13:15:09 +00:00
Eric Schuele ae393e4c27 Allow windows being pushed around to be pushed over the space once occupied by a presently iconic window
SVN revision: 29752
2007-04-28 14:52:29 +00:00
Massimo Maiurana b851203d21 I think this needs to be translated
SVN revision: 29484
2007-04-12 19:09:45 +00:00
Sebastian Dransfeld 318788a78c Safe looping on shutdown.
SVN revision: 29368
2007-04-05 11:51:35 +00:00
Sebastian Dransfeld 5c70a5ecaa Keep all actions in a list so we can safely shutdown.
SVN revision: 29359
2007-04-04 22:35:08 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld d5d1a50d5a E_App -> Efreet_Desktop
SVN revision: 29118
2007-03-25 13:46:57 +00:00
Sebastian Dransfeld 0ad59a25b0 No reason why favorites shouldn't be enabled.
SVN revision: 29032
2007-03-24 18:19:50 +00:00
Sebastian Dransfeld faf9f548bf Merge all app executing into one function.
SVN revision: 29026
2007-03-24 17:42:12 +00:00
Christopher Michael d752f24482 Path from morlenxus to add a dialog for the 'kill' command so windows do not
accidentally get killed.


SVN revision: 28553
2007-03-04 07:03:10 +00:00
Christopher Michael a1a0a7aaa5 Ravenlock's pin-cleanup and pin-action patches to address concerns about a
new border property versus reusing what exists. This now eliminates using a
new border property in favor of re-using the 3 properties that exist and
also adds a key/mouse binding.

Some formatting issues I found in e_border and e_action while
looking/testing this.


SVN revision: 28496
2007-02-27 16:16:03 +00:00
Carsten Haitzler 087af991d6 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Carsten Haitzler 29b6afd096 1. remove ld_lib_path from all things e17 executes EXCEPT its own specific
tools.
2. custom screensaver patches


SVN revision: 27628
2006-12-29 02:56:26 +00:00
Sebastian Dransfeld 5c4c704dea #if 0 unused code.
SVN revision: 27598
2006-12-28 14:15:10 +00:00
David Walter Seikel 563ba75528 Allow the favorite apps menu to be completely disabled. Also at rasters
request, allow the fm menu item to be disabled.


SVN revision: 27005
2006-11-07 22:46:24 +00:00
sndev c6cdf7fe8d oopss. just a small bug--
SVN revision: 26902
2006-11-02 09:56:10 +00:00
sndev 3756bda8c7 * some code refactoring
* make mouse binding dialog to use the same action list as in key binding dialog.


SVN revision: 26761
2006-10-23 20:43:11 +00:00
Christopher Michael 9200c892c3 Added action wrapper for "Cleanup Windows"
SVN revision: 26544
2006-10-11 23:53:39 +00:00
sndev f5ddf38149 * no need in those (ACT_EDIT_*) flags.
SVN revision: 26516
2006-10-11 12:14:45 +00:00
sndev 5b36b1bf3f * some code, related to keybinding dialog functionality, refactoring.
* refactoring of keybinding dialog. Now it is similar to mouse binding dialog, as
raster wants ;)


SVN revision: 26509
2006-10-11 08:46:52 +00:00
Carsten Haitzler 04d99e3df8 main menu cleanups.
sys actions check error/status etc. logout implemented, and used. need to
have status for reboot/halt and for suspend and hibernate.


SVN revision: 25656
2006-09-09 07:00:14 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00
David Walter Seikel 4bf92f25f8 New menu structure.
~/.e/e/applications/menu/all
~/.e/e/applications/menu/favorites

The first one is all the converted FDO menus, which will track changes
to those menus.  The second one is the original favorites menu, which
the user can edit to their hearts content.

WARNING - will break your Favorite menus, coz it has moved.


SVN revision: 24979
2006-08-21 04:35:52 +00:00
Carsten Haitzler 0a5e26b82b jamse brown ... errr... gadman is dead.
basically if moduels wish to put objects on a desktop - they now will have to
DIY and look after themselves. until we have gadcons with "free" layout that
do similar stuff - but this simply means module authors need to d a bit more
work. gadman code is unmaintained and a burden - thus removed.

also borders and e_win's have their own pointers now - this should nuke the
stuck pointer bug... :)


SVN revision: 24925
2006-08-20 04:48:27 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
sebastid 8a918c5e32 Move parsing of maximize string to own func.
SVN revision: 24456
2006-08-08 01:28:06 +00:00
Viktor Kojouharov 48b230924a make deskshow as a function. add an event for it
SVN revision: 24130
2006-07-22 22:25:04 +00:00
Viktor Kojouharov fdde0e6490 zone != desk. it was always about per desk deskshows, not per zone.
SVN revision: 24088
2006-07-21 00:46:40 +00:00
sebastid e02e8432d0 Only regenerate the border if it really changes.
SVN revision: 24026
2006-07-18 13:35:08 +00:00
sebastid 95cead6ea7 Simplify.
SVN revision: 24000
2006-07-17 20:30:48 +00:00
Carsten Haitzler 021cdfacd6 ram's fullscreen action patch and laurent's small radiobutton patch for send
to desktop menu


SVN revision: 23645
2006-07-02 06:57:38 +00:00
Carsten Haitzler 1d01d8d334 no loops.
SVN revision: 23482
2006-06-17 03:29:54 +00:00
Carsten Haitzler 704866a4e1 todo....
SVN revision: 23459
2006-06-16 09:37:32 +00:00
Viktor Kojouharov a01e7f53fd added borderless toggle as an action
SVN revision: 23448
2006-06-15 14:21:35 +00:00
Carsten Haitzler 289bae4298 add a description for shade toggle, and some default key bindings for screen
flip (ctrl+shift F1-F4 for the first 4 screens, and ctrl+shift left/right
arrow for flipping up and down).


SVN revision: 23409
2006-06-13 08:26:57 +00:00
sndev 9214573340 * improving maximization behavior. i.e. if the window is maximized vertically,
it is not denied to maximize it horizontally.
* fixing some mess between basic/advanced window manipulation cfg dialogs.
* fixing initial keybindings.


SVN revision: 23335
2006-06-09 22:15:11 +00:00
sndev 8edc0be374 * fixing parameters of the "Maximize Vertical" and "Maximize Horizontal" actions
wrt the last raster commits.

Users: have to redefine those actions.


SVN revision: 23280
2006-06-08 09:29:53 +00:00
Carsten Haitzler a32e94f567 compile again after conflicts
SVN revision: 23269
2006-06-07 23:34:11 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a69bc7767c Clean up maximization, there is only one unmaximize function now. Think
this code can do more advanced stuff than the previous code.

The logic is that if the window is first maximized vertically, then
horizontally it should equal that both directions are maximized at once.

unmaximize can only be done in directions already maximized.

The code works, but hasn't been thorougly tested. Please report any errors
to me, and I will fix them!


SVN revision: 23254
2006-06-07 21:42:13 +00:00
Christopher Michael 8ca105b52f Patch from saturn_vk for adding an action and key-binding (set
through config dialog) which allows to "Show Desktop" by
iconifying/uniconifying all active borders.

(Tested heavily, no problems.)


SVN revision: 23118
2006-06-03 10:19:11 +00:00
sebastid ec5cc36312 Fix paranthesis
SVN revision: 23030
2006-05-31 18:43:48 +00:00
sebastid 7cafc0a578 Use correct function when fetching zone.
SVN revision: 23026
2006-05-31 16:46:02 +00:00
Carsten Haitzler 48e94671d8 satrun_vk's patch to make manipulating windows while maximized an option and
translation updates


SVN revision: 22638
2006-05-16 07:32:37 +00:00
Carsten Haitzler 8231fc973d 1 more todo item done (move mouse to a new screen/zone/head by actions)
SVN revision: 22584
2006-05-13 14:23:42 +00:00
Carsten Haitzler 32eb879502 fix weird utf8 ... chars - massimo patch
SVN revision: 22532
2006-05-11 14:09:10 +00:00
Carsten Haitzler 9af41e6e0a formatting!
SVN revision: 22488
2006-05-08 13:21:50 +00:00
sndev 00390cb3e3 * Some code cleenup
* repeated code cleanup
* moving the list of keybinding into action.c


SVN revision: 22472
2006-05-06 09:35:05 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
sndev 55c53d456c Some initial work, just initial enviroment, on Desktop Locking:
-a new action, desk_lock, added
  -a new key binding added
  -a e_popup, which actually locks the desktop, added.


SVN revision: 20599
2006-02-19 23:53:35 +00:00
Carsten Haitzler 15c398e635 more gadcon work! - getting there. slowly. the pieces are coming together...
SVN revision: 20379
2006-02-10 08:14:57 +00:00
handyande 660d271497 If someone closed the exit dialog (not using cancel) the exit_dialog pointer got left around - fix
SVN revision: 19724
2006-01-11 14:22:54 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 78d729a57b make symbol hiding actually work - fix some bugs, fixme's adjust bugs and
TODO, add exe history and actually use it etc.


SVN revision: 19313
2005-12-27 17:16:58 +00:00
Carsten Haitzler 05a11288df segv deleting actions. fix.
SVN revision: 18917
2005-12-09 07:47:03 +00:00
Carsten Haitzler c30558a79b working on mr. exebuf...
SVN revision: 18893
2005-12-07 13:24:58 +00:00
Carsten Haitzler 9bb58eca2c aleksej patch for segv on moving window to a new desk if its negative desk
count :)


SVN revision: 18817
2005-12-04 03:25:34 +00:00
Carsten Haitzler d8c635f964 more stringshare work
SVN revision: 18816
2005-12-03 15:39:25 +00:00
Carsten Haitzler 141a376232 alert made more robust just in case... but mor eimportantle e_apps and
e_apps_cache now use stringshare. bit by bit my friends... bit by bit...


SVN revision: 18782
2005-12-02 09:08:58 +00:00
Carsten Haitzler cf7815a1da patches and stuff hanign in mail...
SVN revision: 18756
2005-12-01 07:10:32 +00:00
sebastid 288dd7aa6c Not allow resize when shaded.
Only show resize handles if resize is allowed.


SVN revision: 17445
2005-10-11 20:21:50 +00:00
sebastid 0c3b477cc6 pointer stack work.
SVN revision: 17352
2005-10-09 18:02:17 +00:00
sebastid f1b815305e Pointer changes on context. Please comment! Will work more on it soon.
SVN revision: 17344
2005-10-09 08:54:24 +00:00
sebastid ec8741d35a Correct callbacks for exit dialog. (From ilLogict).
SVN revision: 17199
2005-10-05 16:42:39 +00:00
sebastid 716964582b Only show one exit dialog
SVN revision: 17071
2005-09-29 15:26:34 +00:00
sebastid 2200ea5d14 Actions to move a window to another desk
SVN revision: 17055
2005-09-28 23:17:49 +00:00
sebastid 7f8bb56817 That shouldn't go into cvs
SVN revision: 17053
2005-09-28 22:48:24 +00:00
sebastid 04ca57554b List for known actions.
SVN revision: 17051
2005-09-28 22:47:07 +00:00
tsauerbeck 80ebddfcd8 fixed a typo
SVN revision: 16990
2005-09-27 11:26:41 +00:00
codewarrior d4ebde128e Add ability to focus a button in an E_Dialog by either its number or a
pointer to it.

When we click a button we need to send a focus signal to it.


SVN revision: 16940
2005-09-25 21:33:48 +00:00
sebastid 0c9265219a E codingstyle
SVN revision: 16899
2005-09-24 02:49:55 +00:00
codewarrior 98f2fa3399 Added tab / focus support to e_dialog's buttons.
SVN revision: 16896
2005-09-24 01:59:26 +00:00
Carsten Haitzler df07e38102 resize handling patches from martin
SVN revision: 16870
2005-09-23 15:47:18 +00:00
Carsten Haitzler 3c9e205fdb signal bindings.!!!! this means you can completely rebind every event and
action on a window border theme/design to do what you want. the theme doesnt
determine this anymore. as with wheel bindings it still isnt exported to
config fiels and ipc yet, but the functionality is done.


SVN revision: 16848
2005-09-22 16:36:59 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00
Carsten Haitzler 039595690b prettier dialog
SVN revision: 16768
2005-09-19 13:08:17 +00:00
Carsten Haitzler da7300c038 exit and restart actions. are you sure exit dialog. :)
SVN revision: 16765
2005-09-19 10:52:45 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
Carsten Haitzler f1f9673f11 desktop name ipc patch.
slight formatting stuff.


SVN revision: 16043
2005-08-06 04:00:03 +00:00
Carsten Haitzler 9e7cd72067 ok lots of things here...
1. e17 is now relocatable. the wm will determine its install prefix on the
fly when it is run. so you can use --prefix=/usr/local/e17 and just move the
base dir (/usr/local/e17) to anywhere you like at any later time and e will
adjust and find it. it still has built in fallbacks too so it will use the
compiled prefix as normal if its hunting and 2 checks dont pass.

2. edit mode for gadgets will work with alt+left click on a gadget and
instantly end when u lift the mouse. alst ctrl+alt+g will activate/deactivate
edit mode

3. borderless windows are not allowed to be shaded

4. shaded windows are not allowed to have their border changed

5. just have never seen the pager mess up bug - so until there is some way
of reproducing it or even knowing its still there - remove

6. autoraise timers should be fixed on focus changes

7. stickiness remembering works in the pager now on start of a remembered app


SVN revision: 15966
2005-07-31 06:22:31 +00:00
Carsten Haitzler 744dfc58ff one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
sebastid 84c49aa5fc Indent.
SVN revision: 15818
2005-07-19 08:48:24 +00:00
Carsten Haitzler 1a489c344e martin geisler's patch :)
SVN revision: 15656
2005-07-07 03:55:29 +00:00
Carsten Haitzler b7e6e8b1f2 implement most of the locks
SVN revision: 15638
2005-07-04 10:24:22 +00:00
Carsten Haitzler 1d1dcf4f9c todo--
SVN revision: 15625
2005-07-02 13:33:53 +00:00
Carsten Haitzler 791c7e0eb1 TODO--
SVN revision: 15555
2005-06-28 04:00:17 +00:00
sebastid 8556b412c2 Maximize type as an arg to e_border_maximize. Makes it possible to use
several different maximization types in one session.
Fix the different maximization policies. They only care about gadgets now,
must be fixed to care about other constraints.


SVN revision: 15431
2005-06-19 14:59:41 +00:00
Carsten Haitzler 3bbd1c65c6 fix shade unshade mumbo
SVN revision: 15318
2005-06-14 10:52:05 +00:00
Carsten Haitzler 76bda119c0 winlist alt-tab works (and dhift-alt-tab to go in reverse)... it is NOT
complete... gfx are ugly. i have fixme's. it doesnt work with pointer focus
really... etc.


SVN revision: 15264
2005-06-12 06:50:34 +00:00
Carsten Haitzler 28d41b1d28 fix up exe to set DISPALY right for executed apps on other managers... this
also technically may allow us to add other properties to a window if i get
ehack back in to then put it on the desktop it was launched on.


SVN revision: 15054
2005-06-02 09:49:07 +00:00
Carsten Haitzler 747900bff1 an app action - that launches an app - looked up by varios means (exe, name,
generic, filename)

the parameters to the "app" action can be

  name: Gnome Terminal
OR
  name: XMMS
OR
  exe: xmms
OR
  exe: gimp
OR
  generic: Web Browser
OR
  generic: Terminal
OR
  file: xterm.eapp
OR
  file: gimp.eapp

as a sample...


SVN revision: 15053
2005-06-02 08:25:14 +00:00
Carsten Haitzler f618831ce9 fix memory leaks! no more leaks!
SVN revision: 14934
2005-05-25 08:08:44 +00:00
sebastid 69f6a002f5 Free
SVN revision: 14693
2005-05-10 10:34:19 +00:00
Carsten Haitzler 55da077571 mouse buttons on desktop are now configurable. you can configurew what
buttons do what - default is what it was. you will need to rm your config to
get this...


SVN revision: 14611
2005-05-05 08:33:17 +00:00
Carsten Haitzler c5fab74cbf a whole wad more bindings... i'll stop here. it's now a matter of slow, over
time, expansion of actions and systems to hook in.


SVN revision: 14512
2005-04-30 07:03:35 +00:00
Carsten Haitzler 51ce3de0c0 more bindings and actions
SVN revision: 14509
2005-04-30 04:21:55 +00:00
Carsten Haitzler f8d4832d6d a fixme...
SVN revision: 14506
2005-04-29 19:47:30 +00:00
Carsten Haitzler 9f7013f03e key bindings... um.. kinda... work...
SVN revision: 14505
2005-04-29 19:42:19 +00:00
Carsten Haitzler 67bc506c7a bindings + action system gets its first test run with button bindings. seems
to work well. grabs buttons. responds to input events and context. calls
appropriate action callbacks. you can add actions fairly easily. the cool bit
is that actions can be added on the fly... like ooh - lets say from...
MODULES :) ie module could load and enable then add lots of custom actions.
these could be custom in c code in the module.. OR... they could even be bits
of embryo loaded ... or perl... or python... or... anyway - you can figure it
out. it's justa  bi-product of doing the action system this way. (btw - the
actions can be overridden too by modules so a module could change a default
action or even just augment it...)


SVN revision: 14495
2005-04-29 16:04:43 +00:00
Carsten Haitzler b950085e25 hungarian po
fix zh_CN probs
work on bindings code - add actions system framework. it's not ready for
sliding in yet as i need to fill out actions  but once i do i can slide the
current code across and then work on sliding keybindings in.


SVN revision: 14378
2005-04-26 15:06:06 +00:00