Commit Graph

314 Commits

Author SHA1 Message Date
Carsten Haitzler 4ea769764a pager fixups...
1. dont use a livethumb resolution OF THE SCREEN! per pager desktop
that means u alloc width*height*4 bytes... u have 6 desktops,
1920x1080 screen... thats 48mb for the backing images at full res. no!
bad bad! so i cut it down to 1/16th of the screen res. ie 1920/16 x
1080/16 for the full rest "livethumb". at least its much more
managable (i woke up to find after an update my e was using an EXTRA
100mb of ram! (2560x1440*4desk + 1920x1200*4desk).
2. dont create the livethumbs at all unless you have the bg preview
on! (i had it off and i still paid the price of the mem usage).
3. make the live preview inverted in the cfg gui - ie enable the live
preview, not disable it.
4. fix theme to preview bg fills the pager base box correctly within
the border bounds.
5. dont enforce aspect handling in livethumb as pager is "master" of
aspect (taken from desktop anyway).



SVN revision: 75154
2012-08-11 04:40:30 +00:00
Mike Blumenkrantz 113448e2ac fixed pager bg previewing to use livethumb and also support animated backgrounds
note: using this with klok WILL slow your system to a crawl


SVN revision: 75102
2012-08-10 13:29:35 +00:00
Mike Blumenkrantz f55b60e3af much more strict checking with pager module to account for cases where a user may be sneaky and set animated wallpapers without pagers loaded or somesuch and have config->enable_live_preview set
SVN revision: 74857
2012-08-03 17:21:31 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 9872898794 fix fullscreen window moving using pager/bindings
ticket #1181


SVN revision: 74187
2012-07-19 13:13:23 +00:00
Mike Blumenkrantz 547fa4da3c fix fullscreen/maximize window zone/desk movement which use actions and pager
ticket #1181


SVN revision: 74047
2012-07-18 07:21:26 +00:00
Carsten Haitzler 90e537d983 code config better for pager.
SVN revision: 73850
2012-07-14 11:10:56 +00:00
Mike Blumenkrantz 6c7b03d79b fix pager deletion
SVN revision: 73808
2012-07-13 10:25:51 +00:00
Mike Blumenkrantz 741b234f04 remove pager window previews until e18 :(
SVN revision: 73599
2012-07-12 06:26:27 +00:00
Mike Blumenkrantz 26867329e4 update pager gc on config change
SVN revision: 73588
2012-07-11 17:59:10 +00:00
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