Carsten Haitzler
b8239bef36
also remove volume icon dups on startup. :(
...
SVN revision: 74544
2012-07-29 11:10:45 +00:00
Carsten Haitzler
d10f72eff5
get rid of duiplicate device icons with eeze+eeze-scanner+mount etc.
...
as i see both dev/sdX and dev/sdX1 as devices. delete the parent ones
if child partitions exist.
SVN revision: 74543
2012-07-29 10:30:00 +00:00
Christopher Michael
d885235ebc
E: Fix default shelf size.
...
Currently, for existing shelf sizes, we calculate against e_scale so
the default size of 40 should be adjusted against e_scale also.
SVN revision: 74535
2012-07-28 15:32:50 +00:00
Christopher Michael
d9060b15d6
E: Format shelf code for 80 columns so I can hunt this bugger I am
...
seeing.
SVN revision: 74534
2012-07-28 15:20:08 +00:00
Christopher Michael
b9508baa0e
E: Fix uninitialized variable warning
...
SVN revision: 74532
2012-07-28 15:00:49 +00:00
Cedric BAIL
f44867c7e1
e: don't forget fclose.
...
Patch suggested by rustyBSD <rustyBSD@gmx.fr>.
NOTE: a better solution would be to use Eina_File and eina_file_map_lines.
SVN revision: 74531
2012-07-28 14:29:26 +00:00
Mike Blumenkrantz
14386604f4
warn--
...
SVN revision: 74513
2012-07-27 16:10:37 +00:00
Mike Blumenkrantz
71ce826982
e_gadcon_client_find now takes an optional gadcon param to speed it up where possible
...
SVN revision: 74512
2012-07-27 16:10:06 +00:00
Mike Blumenkrantz
66d61b1778
trivial gadman cleanup
...
SVN revision: 74510
2012-07-27 16:02:44 +00:00
Mike Blumenkrantz
7a0babcfbe
remove some unnecessary checks and a legacy bug in gadman
...
SVN revision: 74509
2012-07-27 15:49:51 +00:00
Mike Blumenkrantz
250ea631d2
fix gadman placement of multiple clients of same class, also fix shadow warning
...
SVN revision: 74508
2012-07-27 15:41:58 +00:00
Mike Blumenkrantz
4ffafd3313
ensure gadcon class is populated before trying to create a client for it
...
SVN revision: 74507
2012-07-27 15:30:36 +00:00
Mike Blumenkrantz
adfa2b1db1
only find fileman action if necessary
...
SVN revision: 74493
2012-07-27 14:02:34 +00:00
Mike Blumenkrantz
1980833a09
use e_shelf_style_set() when creating a new shelf; duplication--
...
SVN revision: 74492
2012-07-27 13:46:06 +00:00
Mike Blumenkrantz
f990c4d738
greatly simplify gadcon populate idler
...
SVN revision: 74491
2012-07-27 13:18:25 +00:00
Mike Blumenkrantz
997c9030b9
fix gadman list refresh crash
...
SVN revision: 74490
2012-07-27 13:15:26 +00:00
Mike Blumenkrantz
bca06d1574
fix small leak in xsettings init
...
SVN revision: 74489
2012-07-27 13:11:44 +00:00
Mike Blumenkrantz
df03a272e5
remove useless checks on gcc name
...
SVN revision: 74488
2012-07-27 12:29:55 +00:00
Mike Blumenkrantz
5db9d9fb00
change gadcon waiting classes list to a hash in order to remove some strcmps
...
SVN revision: 74487
2012-07-27 12:26:41 +00:00
Mike Blumenkrantz
36872afc13
ensure that gadman checks for the client class in populated classes before requesting a populate; this should never ever be necessary
...
SVN revision: 74486
2012-07-27 12:08:52 +00:00
Mike Blumenkrantz
5a6e5ec964
make client class population gadcon-specific so we don't end up populating every gadcon site with 500 client classes if they're only used on a single shelf
...
SVN revision: 74485
2012-07-27 10:54:00 +00:00
Mike Blumenkrantz
3d2b75b3de
pass gadcon cc through to gadman_gadget_place() when available instead of searching through the list for it
...
SVN revision: 74484
2012-07-27 10:52:53 +00:00
Mike Blumenkrantz
f473e943ee
ensure gadman gadget is not already in waiting list before adding
...
SVN revision: 74479
2012-07-27 09:29:59 +00:00
Mike Blumenkrantz
5070653af2
add debug timing info for gadcon idler populates
...
SVN revision: 74478
2012-07-27 09:28:25 +00:00
Mike Blumenkrantz
81cbce9d96
log error and fail when attempting to register a nameless gadcon client class to prevent massive failure later
...
it is once again a good time to update
SVN revision: 74477
2012-07-27 08:46:04 +00:00
Mike Blumenkrantz
8b0c1eaefe
fix gcc populates to actually set all necessary variables and prevent config from being wiped; fixes gadman gadgets randomly disappearing and probably a lot of other unnoticed bugs
...
SVN revision: 74476
2012-07-27 08:42:16 +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
eddf43a8cd
make gadman try to place gadgets if the client class is loaded after the gadget
...
this is NOT a good time to update.
SVN revision: 74473
2012-07-27 08:19:01 +00:00
Mike Blumenkrantz
f08e7423f2
make gadcon class function pointers require const as they should, add new custom populate request function, consolidate gcc populate code
...
compile warnings are being cleaned up next
SVN revision: 74472
2012-07-27 08:17:32 +00:00
Mike Blumenkrantz
92a8b3d652
move some gadman functions to be static
...
SVN revision: 74471
2012-07-27 07:22:57 +00:00
Mike Blumenkrantz
18f8444c86
when a gadman gadget is detected without any stored geometry settings, move and resize it to something reasonable so it can be changed by the user, and also pop a dialog to notify
...
SVN revision: 74470
2012-07-27 07:02:47 +00:00
Mike Blumenkrantz
2850c28167
add more startup timing info for non-debug builds so people can see what the real startup time of e is
...
SVN revision: 74469
2012-07-27 06:43:14 +00:00
Mike Blumenkrantz
5389c8a964
forgot to deregister client class from populated list
...
SVN revision: 74445
2012-07-26 14:13:49 +00:00
Mike Blumenkrantz
68b44ce619
more gadman fixes to not store the actual gcc pointer
...
SVN revision: 74444
2012-07-26 14:00:20 +00:00
Mike Blumenkrantz
14b109ac78
fix gadcon crashing when enabling/disabling modules
...
SVN revision: 74443
2012-07-26 13:59:41 +00:00
Mike Blumenkrantz
812abd7c1d
actually I don't know wtf I was thinking with 74438, I was clearly a misguided genius in the code that I removed in this commit; fixes adding new gadgets and also speeds up the process greatly
...
SVN revision: 74441
2012-07-26 13:00:15 +00:00
Mike Blumenkrantz
a9107599de
gadman now tracks gadgets by the config instead of the gadget object, should prevent crashes if a gadget is ever repopulated
...
SVN revision: 74440
2012-07-26 12:48:11 +00:00
Mike Blumenkrantz
f8b1dbf2e3
add function for finding a gadcon client from its config
...
SVN revision: 74439
2012-07-26 12:41:41 +00:00
Mike Blumenkrantz
512f48014c
not sure what I was thinking here, no need to repopulate a gadcon when client class is populated
...
SVN revision: 74438
2012-07-26 12:41:01 +00:00
Mike Blumenkrantz
ec019bae91
only populate custom gadcons with the gadgets that are actually loaded in the gadcon: huge speedup
...
SVN revision: 74433
2012-07-26 11:05:39 +00:00
Mike Blumenkrantz
c2b2d7e5ad
registering a gadcon client class no longer immediately tries to populate the class; we now populate classes only when a gadget for the class is loaded to further reduce the initial loading clusterfuck
...
SVN revision: 74432
2012-07-26 10:34:40 +00:00
Mike Blumenkrantz
aac8262b02
fix return value for e_main_ts()
...
SVN revision: 74431
2012-07-26 10:24:10 +00:00
Mike Blumenkrantz
bb711a6526
e_main_ts() now returns the elapsed time since the last call
...
SVN revision: 74429
2012-07-26 09:10:51 +00:00
Mike Blumenkrantz
0f09ff1e46
change delayed module idler to idle enterer to increase responsiveness during startup
...
SVN revision: 74426
2012-07-26 08:38:32 +00:00
Mike Blumenkrantz
de3dda2d03
back to printfs for e startup
...
SVN revision: 74425
2012-07-26 08:25:12 +00:00
Mike Blumenkrantz
c2ad72cf6b
add e_main_ts() to provide a facility for debugging time spent on certain activities in main loop
...
SVN revision: 74423
2012-07-26 08:21:52 +00:00
Mike Blumenkrantz
a72afa83fc
shave 0.2s off xsettings init with aggressive use of timers and idlers
...
SVN revision: 74422
2012-07-26 08:02:27 +00:00
Mike Blumenkrantz
bd6e61c6c8
also no need for calloc here
...
SVN revision: 74418
2012-07-26 07:11:43 +00:00
Mike Blumenkrantz
d3f8ffeb61
some minor optimizations for _e_font_fontconfig_name_parse() as well as realloc failure handling
...
SVN revision: 74417
2012-07-26 07:08:22 +00:00
Mike Blumenkrantz
7fd07d8712
formatting
...
SVN revision: 74416
2012-07-26 06:49:35 +00:00