Commit Graph

171 Commits

Author SHA1 Message Date
Hannes Janetzek 93c43fe854 add __UNUSED__
SVN revision: 56300
2011-01-25 18:20:13 +00:00
Christopher Michael 572970d903 Add a Suspend Now command to actions so that on ACPI lid close, you
can do suspend without a confirmation dialog.
Clear the Action Paramaters box when a binding or action changes.



SVN revision: 56207
2011-01-17 17:25:42 +00:00
Mike Blumenkrantz b523a45218 add __UNUSED__ somewhat indiscriminately here since we're doing crazy macros anyway
SVN revision: 56159
2011-01-16 02:08:22 +00:00
Carsten Haitzler 3fb1756479 makr strings to be translatable - but dont translate
SVN revision: 56109
2011-01-14 11:19:30 +00:00
Carsten Haitzler 7c54b118e8 gettext-> translate at gui display time not in storing in structs!
SVN revision: 56107
2011-01-14 09:49:42 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Luis Felipe Strano Moraes 058f651795 Changing action description to the correct parameters.
I'd actually prefer bottom-left and bottom-right instead of down-left
and down-right, but then we would also have to change up-left to top-left
and so on. This change was the one that introduced minimal annoyance to
people who already use this amazing push-to binding (the few people here
who used evilwm should know it).



SVN revision: 53186
2010-10-08 13:32:08 +00:00
Mike Blumenkrantz 4be4d99103 englishize kill message
SVN revision: 52151
2010-09-11 02:22:01 +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
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael 7a8bbab059 Add UNUSED.
Fix formatting in e_actions.



SVN revision: 51328
2010-08-18 19:46:26 +00:00
Lucas De Marchi f725ee6e15 Do not compare pointers to 0
SVN revision: 50973
2010-08-10 19:24:38 +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
Carsten Haitzler 94eb10404e edge -> no ev. dont seg
SVN revision: 49884
2010-06-27 08:35:59 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Gustavo Sverzut Barbieri d08037a625 Window/Action/Push in direction is now able to do 2d movements.
Allow one to send window to corners. up-left, up-right, down-left and
down-right are the new possible values.

HINT: for those that don't know, the "Push" has the nice behavior to
do the push in the given direction but stops in the first
window/obstacle in that direction, thus avoiding overlapping windows.



SVN revision: 49433
2010-06-04 02:08:43 +00:00
Gustavo Sverzut Barbieri 36c9bdebe1 Fix Window/Actions/{Move to..., Push in Direction...} to account shelf.
Now push to edges or move to position will account for shelves and not
move things below/ontop of them.

Move to help was also changed to say "+" instead of " " as it is more
clear. The code just checks for '-', so anything else is accounted as
positive anyway.



SVN revision: 49432
2010-06-04 01:51:24 +00:00
Christopher Michael d2d1e49bf5 Add bindings for ACPI.
Add acpi bindings to config.
Add handlers in e_acpi for common/default acpi events.
Add actions for some missing ACPI events.
 - NB: Dim/Undim screen do nothing currently except a printf.



SVN revision: 49309
2010-05-29 19:57:13 +00:00
Sebastian Dransfeld 1281326421 free desktop when done
SVN revision: 47475
2010-03-26 05:33:59 +00:00
Sebastian Dransfeld 080b8eda6c formatting
SVN revision: 47189
2010-03-13 21:56:25 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld 56d7e58f04 And readd shelf_show action
SVN revision: 45420
2010-01-21 20:39:57 +00:00
Sebastian Dransfeld a9e5912f7f And remove rest of shelf action
SVN revision: 45382
2010-01-21 08:37:45 +00:00
Sebastian Dransfeld 226df7024c remove unneeded action
SVN revision: 45379
2010-01-21 07:50:06 +00:00
Sebastian Dransfeld 87f1bcb0ed remove unused variables
SVN revision: 45152
2010-01-14 23:48:48 +00:00
Christopher Michael 694a80290f Fix nasty formatting.
Remove whitespace.
Use -1 for eina_list_sort (saves a function call to eina_list_count).



SVN revision: 44801
2009-12-30 18:24:37 +00:00
Viktor Kojouharov b6ec16d97e hide edge event windows that are not used by any action
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary


SVN revision: 42864
2009-10-02 20:53:05 +00:00
Hannes Janetzek 28eac9678c fix warnings
SVN revision: 42476
2009-09-14 00:32:44 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri 04b88fea5f actions to toggle new modes.
SVN revision: 40385
2009-04-25 20:54:12 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Cedric BAIL 74c6251db7 * e_actions: Use some eina macro.
SVN revision: 39591
2009-03-19 19:03:35 +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
Viktor Kojouharov 4c31250530 this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
2009-03-10 21:34:41 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Eric Schuele fcc03a2173 Action to center the focused border.
SVN revision: 39301
2009-03-01 05:15:54 +00:00
Viktor Kojouharov 82404b049e option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
2009-02-27 18:36:08 +00:00
Viktor Kojouharov 9bbc8158bd edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching.
The edge/corner picker needs some love from someone who is not artistically challenged.  And a proper module icon as well.


SVN revision: 39220
2009-02-25 22:21:46 +00:00
Carsten Haitzler c1b68e32b2 by popular request - reboot.
SVN revision: 38868
2009-01-31 23:57:32 +00:00
Carsten Haitzler 145fc680ff shorten system action text - simpler. also fix actiosn to be system.
SVN revision: 38698
2009-01-22 20:54:26 +00:00
Carsten Haitzler fd8cb46a11 syscon -> labels!
SVN revision: 38695
2009-01-22 05:41:33 +00:00
Gustavo Sverzut Barbieri 6ff4dd8387 Action to show shelf.
It's so annoying have to move mouse to screen border in order to show
shelfs. This way we can do a key bindings to do so.

One can use glob (uses fnmatch) to limit shelves by name.


SVN revision: 38527
2009-01-10 04:20:06 +00:00
Cedric BAIL 5a75b84524 Calling e_object_del will make an attempt to remove object from actions
hash. So do it later.


SVN revision: 38189
2008-12-17 16:36:12 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler 6cf459572f make extra actions work. use them from illume.
SVN revision: 37811
2008-11-26 12:54:23 +00:00
Carsten Haitzler 5a29e1f6b5 syscon module added - provides a system entry in main menu (build in one gone
now). syscon has a poup with buttons (configurale) that offer all the
logout/reboot etc. stuff. also able to extend with more items or inline them
into the theme too.

not complete. need config for being able to extend the syscon popup (and use
it) and no gui config for configuring what should appear and how it should
look. possibly theme should have custon elements for the ones curently using
button + icon look. also no keyboard control.



SVN revision: 37797
2008-11-25 08:05:58 +00:00
Sebastian Dransfeld 10396e6085 Use strlcpy
SVN revision: 37237
2008-10-27 12:34:35 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +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
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00