Commit Graph

193 Commits

Author SHA1 Message Date
Kim Woelders c517a00f0b Indent.
SVN revision: 51100
2010-08-13 21:05:00 +00:00
Lucas De Marchi 4d4401c5d3 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Kim Woelders 4ac03926da Adjustments for indent 2.2.11.
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Lucas De Marchi 118b441611 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
Kim Woelders 0466673fbf Trim whitespace from translatable strings.
SVN revision: 48723
2010-05-09 19:03:19 +00:00
Kim Woelders 490dff5974 Remove some trailing spaces from bg show command output.
SVN revision: 48722
2010-05-09 19:03:16 +00:00
Kim Woelders 203247f8a2 Silence clang.
SVN revision: 48559
2010-05-02 20:26:47 +00:00
Kim Woelders 29a5b4489d Centralise file loading, based on file type.
Change install paths:
- menus: <datadir>/config/menus -> <datadir>/menus
- icons: <datadir>/config/pix   -> <datadir>/icons
- pix:   <datadir>/config/pix   -> <datadir>/pix

SVN revision: 47695
2010-04-02 15:27:58 +00:00
Kim Woelders d5175a9574 Change some functions to macros, simplify setup stuff.
SVN revision: 46932
2010-03-07 07:05:18 +00:00
Kim Woelders c5f4373649 Fix various background file issues
- Avoid a lot of file system access.
- Fix deleting a background including its files.
- Discard broken backgrounds (bg file cannot be found).

SVN revision: 46320
2010-02-19 19:30:54 +00:00
Kim Woelders a7e538be10 Trivial fixes (clang).
SVN revision: 45718
2010-01-29 19:45:04 +00:00
Kim Woelders 2a4d0e3fbd Dialog cleanups.
SVN revision: 43638
2009-11-12 20:48:21 +00:00
Kim Woelders acf3c63ef9 DialogDrawItems should not have to be called explicitly.
SVN revision: 43637
2009-11-12 20:48:18 +00:00
Kim Woelders 02a82cf6f3 Last change was not good in certain themes.
Instead, use DIALOG_BUTTON and fall back to DIALOG_WIDGET_BUTTON.

SVN revision: 43021
2009-10-11 17:54:40 +00:00
Kim Woelders 076edda7aa Use DIALOG_WIDGET_BUTTON in stead of DIALOG_BUTTON in background selector.
DIALOG_BUTTON can now be eliminated from themes.

SVN revision: 42891
2009-10-05 16:43:34 +00:00
Kim Woelders bfefc200cd EColor->COLOR32
SVN revision: 42460
2009-09-13 13:45:34 +00:00
Kim Woelders 42ad2b8836 Add missing newlines on IPC messages.
SVN revision: 42288
2009-09-06 09:59:40 +00:00
Kim Woelders 24e0a0d7e8 Forgot some 2008->2009's.
SVN revision: 40605
2009-05-12 21:21:21 +00:00
Kim Woelders a9b5c1cf6a Background scanning tweaks and cleanups.
SVN revision: 40529
2009-05-06 17:17:31 +00:00
Kim Woelders 7b2001825a Always destroy startup backgrounds as intended (noted by Don Harrop).
SVN revision: 40481
2009-05-01 17:14:05 +00:00
Kim Woelders 287bbf4c3b Enable building without dialogs.
SVN revision: 38754
2009-01-24 08:31:50 +00:00
Kim Woelders e42a80764f Play sounds by number in stead of by name. Enable disabling specific sounds.
SVN revision: 38142
2008-12-14 16:44:45 +00:00
Kim Woelders f75c54f44d Enable not scanning backgrounds when starting background dialog.
SVN revision: 37751
2008-11-22 21:17:02 +00:00
Kim Woelders 349a5a268c Discard only generated background duplicates.
SVN revision: 37750
2008-11-22 21:16:59 +00:00
Kim Woelders b85d1f0533 Make coordinate system in vertical sliders same as in horizontal.
SVN revision: 37628
2008-11-14 18:30:45 +00:00
Kim Woelders a3e97e347f Enable specifying theme default desktop background (suggested by Don Harrop).
SVN revision: 37077
2008-10-24 19:21:55 +00:00
Kim Woelders 6e0986a40c Don't look for background image files until actually used.
SVN revision: 37076
2008-10-24 19:16:38 +00:00
Kim Woelders b15a1fe53a Disable localization of theme files.
SVN revision: 36682
2008-10-15 15:20:20 +00:00
Kim Woelders 70a6cc695c Simplify activating configuration dialogs.
SVN revision: 36681
2008-10-15 15:19:12 +00:00
Kim Woelders 9acd352563 Eliminate dup in fullfileof().
SVN revision: 36574
2008-10-10 19:49:06 +00:00
Kim Woelders d45132c04a Use fallback imageclass a couple of places.
SVN revision: 35393
2008-08-07 23:21:00 +00:00
Kim Woelders dfadac95c6 Remove colormodifier stuff (this has afaict never worked in e16).
SVN revision: 34941
2008-06-28 19:08:35 +00:00
Kim Woelders 1dad1ef28f Simplify timers.
SVN revision: 34656
2008-05-24 18:13:17 +00:00
Kim Woelders 26f7112636 Remove/comment out unused stuff.
SVN revision: 34533
2008-05-10 23:22:31 +00:00
Kim Woelders 02f2b0d882 Eliminate RRoot and VRoot.
SVN revision: 34146
2008-03-29 17:18:58 +00:00
Kim Woelders c46af7ad8c Background scaling tweak (debian bug 471577).
SVN revision: 34122
2008-03-26 23:19:42 +00:00
Kim Woelders 6eaca2639c Eliminate redundant VRoot vars.
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders 45ae68ae79 Eliminate redundant RRoot variables.
SVN revision: 34105
2008-03-24 10:24:28 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders 4ef9558c14 Forgot 2008.
SVN revision: 34083
2008-03-22 14:51:24 +00:00
Kim Woelders 0a05aafc82 Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders 192fb7acfb EImagePixmapFree->EImagePixmapsFree, add mask argument.
SVN revision: 33156
2007-12-15 16:29:22 +00:00
Kim Woelders 6089e2ef04 Deactivate unused code, trivial cleanups.
SVN revision: 31626
2007-09-05 19:12:56 +00:00
Kim Woelders 7d0aff6e76 XColor -> EColor, EGet/SetColor -> macros.
SVN revision: 31566
2007-08-28 17:58:23 +00:00
Kim Woelders 11cf892306 Assorted refactorizations.
SVN revision: 31016
2007-07-27 16:59:50 +00:00
Kim Woelders dd8a5138b2 Follow ecore_list name changes.
SVN revision: 30976
2007-07-25 20:02:57 +00:00
Kim Woelders 2a38a2be18 Fix some background dialog issues + tweak layout.
SVN revision: 30760
2007-07-11 09:35:01 +00:00
Kim Woelders dad015dc6c Move some window background pixmap handling down to Win layer.
SVN revision: 30076
2007-05-25 22:40:47 +00:00
Kim Woelders f91bd57508 Trivial cleanups.
SVN revision: 30043
2007-05-20 12:46:24 +00:00
Kim Woelders 3f4eb10e09 Eliminate unused parameter in IPC functions. Move some stuff out of E.h.
SVN revision: 30015
2007-05-18 08:25:06 +00:00
Kim Woelders 09cbba40d4 Various anti-alias fixups after recent changes.
SVN revision: 29439
2007-04-07 16:18:53 +00:00
Kim Woelders 799f662fce Use anti-alias only when appropriate.
SVN revision: 29429
2007-04-06 22:20:07 +00:00
Kim Woelders 4071d88a87 Eliminate use of word() and atword().
SVN revision: 28473
2007-02-25 18:05:53 +00:00
Kim Woelders 184b6faede Don't scan background directory at startup but when needed (menu or config dialog).
SVN revision: 28467
2007-02-25 01:38:30 +00:00
Kim Woelders 421428561a Add some checks to avoid imlib warnings.
SVN revision: 28367
2007-02-15 03:30:18 +00:00
Kim Woelders f53600e1e8 Cleanups, enable compiling everything as if it were C++.
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders b7acf33e70 Clean out unused duplicate backgrounds at startup.
SVN revision: 27571
2006-12-26 22:39:13 +00:00
Kim Woelders 163f842dc6 Disable translation of some error message stuff that might as well be left untranslated.
SVN revision: 27397
2006-12-09 21:32:03 +00:00
Kim Woelders 28bc5d39db Fix missing/too many draws of the background selector window.
SVN revision: 25362
2006-09-02 14:33:14 +00:00
Kim Woelders 6e022653f7 Add data parameter to dialog keybinding callback.
SVN revision: 24940
2006-08-20 17:39:32 +00:00
Kim Woelders d73f2eb5a0 Still more dialog creation refactoring bits.
SVN revision: 24463
2006-08-08 03:58:42 +00:00
Kim Woelders 3767ae0da4 Some more dialog creation refactoring bits.
SVN revision: 24226
2006-07-27 04:52:50 +00:00
Kim Woelders 1bb6c4f1ed Fix (most unlikely) segv.
SVN revision: 24173
2006-07-25 01:29:26 +00:00
Kim Woelders 5bd5afe9cc Split up, shuffle around file.c (no real changes).
SVN revision: 24166
2006-07-24 21:10:59 +00:00
Kim Woelders 73c9b8cb28 Refactor dialog creation functions.
SVN revision: 24092
2006-07-21 03:17:18 +00:00
Kim Woelders e418400bf9 Fix some incorrect window attribute propagation. Cleanups.
SVN revision: 22968
2006-05-28 11:51:42 +00:00
Kim Woelders 3a1af27148 Add background transparency "compatibility mode" option to configuration dialog.
SVN revision: 22966
2006-05-28 11:09:46 +00:00
Kim Woelders ebe0524b15 Fix X-font color when colormap changes.
SVN revision: 22622
2006-05-14 16:01:17 +00:00
Kim Woelders 2220fc9762 Pass Win to image rendering functions (for visual info).
SVN revision: 22583
2006-05-13 13:25:30 +00:00
Kim Woelders 1b0b5df104 Pass Win to text rendering functions (for visual info).
SVN revision: 22490
2006-05-08 16:26:22 +00:00
Kim Woelders f2a081534d Use window depth when creating normal image pixmaps.
SVN revision: 22483
2006-05-07 16:21:37 +00:00
Kim Woelders f02b00ad9d Change internal window handling API. Now passing Win (pointer to EXID struct) in stead of window XID.
SVN revision: 22397
2006-04-29 19:39:21 +00:00
Kim Woelders 02dbdc4bdc Trivial function rename, cleanups.
SVN revision: 22374
2006-04-26 23:43:07 +00:00
Kim Woelders 068d2aef43 Window handling function api rename/rewrap continued.
SVN revision: 22352
2006-04-25 22:40:06 +00:00
Kim Woelders 6eb1fbcb72 Change some stuff to const. Minor config tweaks.
SVN revision: 22284
2006-04-21 22:52:59 +00:00
Kim Woelders 0218e123c2 Start renaming/rewrapping stuff preparing for other api changes.
SVN revision: 22185
2006-04-17 21:55:34 +00:00
Kim Woelders 66530a75ef Fix problem with background pixmaps being freed by mistake.
SVN revision: 22164
2006-04-16 18:34:57 +00:00
Kim Woelders 27050fe8cc Split off timers.h
SVN revision: 22161
2006-04-16 13:27:38 +00:00
Kim Woelders 57e5fb09d4 Trivial fixes and cleanups.
SVN revision: 21978
2006-04-09 09:26:15 +00:00
Kim Woelders 2f78638c0f Wrap imlib.
SVN revision: 21576
2006-03-29 19:13:17 +00:00
Kim Woelders ad52858fbb Fix external background on root at startup with CM enabled. Cleanups.
SVN revision: 20891
2006-03-01 21:57:50 +00:00
Kim Woelders b5038396fb Rework background handling:
- Only use root background overlay when composite is enabled
- Improve handling of external backgrounds ("No Background")
- Fix external background handling when composite is enabled


SVN revision: 20835
2006-02-27 19:14:25 +00:00
Kim Woelders c14ac69501 Fix background configuration when background is NONE.
SVN revision: 20641
2006-02-20 18:56:36 +00:00
Kim Woelders e052f9aceb Move lists to Ecore_List.
SVN revision: 20557
2006-02-18 08:30:09 +00:00
Kim Woelders 25da17e28a Add sanity check for background timeout value.
SVN revision: 20403
2006-02-11 17:05:08 +00:00
Kim Woelders 26f55b545d Debug stuff.
SVN revision: 19666
2006-01-08 23:51:07 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders 5d1af7b440 Fix scaling of fixed aspect ratio backgrounds.
SVN revision: 19545
2006-01-05 22:20:00 +00:00
Kim Woelders 1a665c5021 Fix scaled backgrounds with overlay image and overlay images with alpha.
SVN revision: 19293
2005-12-25 12:40:38 +00:00
Kim Woelders 7835608a0f Fix incorrect or invalid background pixmaps in certain situations.
SVN revision: 18662
2005-11-27 11:02:05 +00:00
Kim Woelders ee32dd33b3 More background pixmap handling stuff.
SVN revision: 18606
2005-11-22 23:21:47 +00:00
Kim Woelders 85639edc22 Prepare to fix various issues related to background pixmap handling.
SVN revision: 18577
2005-11-21 17:48:44 +00:00
Kim Woelders fa4974a8c2 Oops - Should not have been changed.
SVN revision: 18193
2005-11-01 17:15:51 +00:00
Kim Woelders 0dfa113313 General bug hunt - Found a few, pedantic cleanups, dead code removal.
SVN revision: 18153
2005-10-30 19:40:49 +00:00
Kim Woelders 729c2a92b4 Functions for common dialog stuf. Split off dialog.h. Cleanups.
SVN revision: 18092
2005-10-29 08:48:40 +00:00
Kim Woelders 9dca3e88f1 EWM hint support is no longer optional. Split off hints.h.
SVN revision: 18049
2005-10-27 23:18:35 +00:00
Kim Woelders 3faffc66fa Fix bug in desktop background assignment. Split off backgrounds.h.
SVN revision: 17891
2005-10-24 16:05:30 +00:00
Kim Woelders d298bab4c7 Change default dialog layout, remove redundant code.
SVN revision: 17399
2005-10-10 19:40:11 +00:00
Kim Woelders 90bd960b93 Hide image/text class internals.
SVN revision: 16971
2005-09-26 17:32:10 +00:00