Lucas De Marchi
2aca12cc2e
e/notification: do not use null_strings_replace()
...
It would be very weird and error-prone on clients to have code like
this:
E_Notification_Notify n;
memset(n, 0, sizeof(*n));
n.app_name = "bla";
e_notification_client_send(...);
eina_stringshare_del(n.icon.icon);
eina_stringshare_del(...);
...
Instead of doing this, replace NULL by "" in the only place it's not
allowed: while sending the D-Bus message.
SVN revision: 82120
2013-01-03 22:08:15 +00:00
José Roberto de Souza
84550effc5
e: Add client api to notifications
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82119
2013-01-03 22:08:10 +00:00
Lucas De Marchi
8ec8c40bb7
e/notification: improve consistency of the API
...
Rename some functions and fields to have a better API. Also sanitize the
method and signal tables.
SVN revision: 82117
2013-01-03 22:08:00 +00:00
José Roberto de Souza
ab185d46c3
e: Add notification API
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82116
2013-01-03 22:07:56 +00:00
Lucas De Marchi
3c6d7db5a3
e: Make a few renames on new dbusmenu API
...
typos:
toogle -> toggle
itens -> items
API consistency:
MENU_ITEM_TOGGLE -> E_DBUSMENU_ITEM_TOGGLE
E_DBus_Menu_Item_Event -> E_DBusMenu_Item_Event
(I don't want to bikeshed on this, but we need to choose one of the
possible names, and keep consistent with the rest of the API)
A few var renames: It's E_DBusMenu_Ctx, so let's name the var ctx
instead of menu_data. internal_ctx is no more meaninful than ctx, so
rename it as well.
SVN revision: 82092
2013-01-03 18:16:16 +00:00
José Roberto de Souza
805d32b831
e: Add dbusmenu API
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82091
2013-01-03 18:16:09 +00:00
José Roberto de Souza
d46ef364fd
e: Replace printf by eina log
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82088
2013-01-03 18:15:53 +00:00
Mike Blumenkrantz
9e207e6f92
conf2
...
SVN revision: 82078
2013-01-03 14:47:21 +00:00
Carsten Haitzler
625cafc28c
fix xsettings to notneed x headers directly... much better! :)
...
SVN revision: 82058
2013-01-03 11:21:24 +00:00
Cedric BAIL
92ab0600ee
e: fix restart of E17 after manually monitoring it.
...
SVN revision: 82023
2013-01-03 00:32:48 +00:00
José Roberto de Souza
53f67fa86b
e/music-control: Add gadget GUI
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81989
2013-01-02 13:19:49 +00:00
Lucas De Marchi
9e1b995c56
e: small fixes to port of e_fm udisk to edbus
...
- no need for calling edbus_message_error_get() if we are not getting
the error message
- rename confusing vars:
* A dict is this complete type: "a{sv}", i.e. an array with
key-values pairs (though the value could very well be 's', or
'u' or another basic type)
* An entry (or dict_entry, or de) is *the* key-value pair.
- Use eina_stringshare_replace when possible
SVN revision: 81986
2013-01-02 13:16:24 +00:00
José Roberto de Souza
5e4352e9b3
e: e_fm udisk ported to edbus
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81985
2013-01-02 13:16:19 +00:00
José Roberto de Souza
5655cbf8af
e: Remove Hal backend from e_fm
...
Since Hal is deprecated since 2008 it's a bad idea wasting time porting
it to edbus.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81984
2013-01-02 13:16:14 +00:00
Lucas De Marchi
b8dbc2fa0e
e: small fixes to e_msgbus conversion to edbus
...
SVN revision: 81981
2013-01-02 13:15:58 +00:00
José Roberto de Souza
a84987cd60
e: Port e_msgbus to edbus
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81980
2013-01-02 13:15:53 +00:00
José Roberto de Souza
5b714e3146
e: Port fileman to edbus
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81977
2013-01-02 13:14:54 +00:00
José Roberto de Souza
71fa105fd8
e: Port battery module to upower and edbus
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 81975
2013-01-02 13:14:29 +00:00
Daniel Juyung Seo
ba8be587ab
e dialog: Handle Escape keys on dialogs. This is very useful. Now e about, theme about, sys dialogs handles Escape key and closes the window.
...
SVN revision: 81966
2013-01-01 23:44:11 +00:00
Mike Blumenkrantz
9bd47bb46b
add enum for deskflip animation mode
...
SVN revision: 81931
2012-12-31 14:00:47 +00:00
Mike Blumenkrantz
0d8a0f40df
convert #defines in e_int_menus.h to enums
...
SVN revision: 81930
2012-12-31 13:51:43 +00:00
Mike Blumenkrantz
b471739c98
e_win now traps elm_win_activate to avoid conflict with active hint ignore settings
...
SVN revision: 81926
2012-12-31 08:20:22 +00:00
Mike Blumenkrantz
1bbcf1abb0
added function to hide all active menus, always hide menus when desklocking
...
SVN revision: 81925
2012-12-31 07:47:51 +00:00
Carsten Haitzler
2bcb066ccb
oh this was always broken - mh simply was never set and being used...
...
until the 2nd loop. by then it ws too lae as ms was screwed.
SVN revision: 81895
2012-12-30 10:53:29 +00:00
Mike Blumenkrantz
f3e9d402b8
fix wrong config value clamping for window autoraise delay
...
SVN revision: 81886
2012-12-29 19:01:03 +00:00
Mike Blumenkrantz
34abfeb42e
more elm tooltip window fixes
...
SVN revision: 81885
2012-12-29 17:03:13 +00:00
Mike Blumenkrantz
27c5e97d3b
fix elm tooltip borderless display
...
SVN revision: 81879
2012-12-29 16:04:42 +00:00
Mike Blumenkrantz
a5a068a358
fix xkb variant construction, patch from Tomas Cech
...
ticket #2119
SVN revision: 81849
2012-12-28 22:35:10 +00:00
Carsten Haitzler
7483f4bee9
allow for primary toplevel menus > screen height (or width) and
...
autoscroll them correctly. also raise the limits for menu sizes up to
30k or 2x zone height for menu item cutoff...
SVN revision: 81778
2012-12-28 03:28:25 +00:00
Cedric BAIL
5af50c40da
e: remove some warning when compiling on FreeBSD.
...
Patch by Maxime Villard <rustyBSD@gmx.fr>.
SVN revision: 81772
2012-12-28 00:27:41 +00:00
Christopher Michael
e69f1ae991
Fix uninitialized variable warning(s).
...
Fix formatting for 80 columns.
Signed-off-by: Christopher Michael <cpmichael1@comcast.net>
SVN revision: 81743
2012-12-27 13:18:59 +00:00
Mike Blumenkrantz
6112e1285c
flag config option as GUI
...
SVN revision: 81737
2012-12-27 09:06:11 +00:00
Mike Blumenkrantz
204a7b1065
hmm that didn't work like I expected, leave elm include here I guess even though this is awkward...
...
SVN revision: 81733
2012-12-27 07:32:53 +00:00
Mike Blumenkrantz
be140d1a3b
if using elm, include globally for e
...
SVN revision: 81732
2012-12-27 07:27:12 +00:00
Igor Murzov
b96d338097
Fix inverted arguments for lseek()
...
Patch from Maxime Villard <rustyBSD@gmx.fr>
"Hum, I've made a mistake in e_fm_op.c with lseek(), I inverted
the two last arguments. However it's not harmful, as SEEK_SET=0.:
SVN revision: 81697
2012-12-25 18:12:31 +00:00
Chidambar Zinnoury
8d542d40a8
e gadcon settings: add icons.
...
SVN revision: 81694
2012-12-25 17:04:15 +00:00
Mike Blumenkrantz
66aaa87c49
warn--
...
SVN revision: 81634
2012-12-22 10:33:45 +00:00
Mike Blumenkrantz
56ef3c37d2
add echievements to module whitelist: I (and others) maintain the hell out of this, so I consider it a real bug if there's a crash
...
SVN revision: 81633
2012-12-22 10:32:30 +00:00
Mike Blumenkrantz
0f01a6b279
in a move which will make me tremendously unpopular, config versioning has been changed from hex to dec across the whole tree, including helper functions and modules
...
PS. HAHAHAHAHAHAHAHA
SVN revision: 81624
2012-12-21 23:57:05 +00:00
Mike Blumenkrantz
8cd8b27f96
hokay, last commit made bg_file_get leak, so now let's simplify and clean it up
...
SVN revision: 81621
2012-12-21 23:06:11 +00:00
Mike Blumenkrantz
32c5b6e9fd
possibly the last bug fix before release, yet another stringshare bug
...
ticket #2072
SVN revision: 81620
2012-12-21 22:58:17 +00:00
Mike Blumenkrantz
21bdf63d57
don't generate menu on startup, just cache it after the first one
...
SVN revision: 81561
2012-12-21 16:34:50 +00:00
Hannes Janetzek
303abf60de
e17/shelf: fix wrong autohide with systray on second zone
...
SVN revision: 81557
2012-12-21 15:54:45 +00:00
Mike Blumenkrantz
de5a59c469
correctly update gtk icons/themes when changed, also don't double update on icon events
...
ticket #2063
SVN revision: 81541
2012-12-21 12:03:11 +00:00
Mike Blumenkrantz
3bc56a9e5f
fix a tremendous number of stringshare leaks
...
SVN revision: 81532
2012-12-21 10:20:05 +00:00
Mike Blumenkrantz
b13ca641f7
ensure we get a properly stringshared return value here to match state of e_path_find
...
SVN revision: 81527
2012-12-21 10:02:27 +00:00
Mike Blumenkrantz
e9ea6454d9
some stringshare improvements for e_path_find
...
SVN revision: 81526
2012-12-21 10:01:01 +00:00
Mike Blumenkrantz
4ee20a2c2f
use edje_file_group_exists instead of manually iterating the groups
...
SVN revision: 81524
2012-12-21 09:08:33 +00:00
Mike Blumenkrantz
e049fbf4ee
use stringshare return type
...
SVN revision: 81523
2012-12-21 09:03:30 +00:00
Mike Blumenkrantz
99a5b074dd
show icons again when activating DND drop menu
...
ticket #2061
SVN revision: 81514
2012-12-21 08:08:56 +00:00
Mike Blumenkrantz
d7bc5ae149
e internal dialogs now correctly remember their maximization state and are now less prone to moving around crazily if e is restarted while they are maximized
...
SVN revision: 81472
2012-12-20 17:51:42 +00:00
Mike Blumenkrantz
59c4945890
another focus bug: pointer no longer warps when closing a window if pointer was not over a window when window was closed
...
SVN revision: 81470
2012-12-20 16:50:44 +00:00
Mike Blumenkrantz
72a901f954
finally fix insanely long-lived bug where pointer warp would end abruptly if the timer was called again before the X cursor move had occurred
...
SVN revision: 81469
2012-12-20 16:38:12 +00:00
Mike Blumenkrantz
6267cbd223
found a weird bug where sometimes window remembers get saved wrong...add some checks to rescue lost windows like these on startup and unb0rk the related remember
...
SVN revision: 81467
2012-12-20 15:37:01 +00:00
Mike Blumenkrantz
829a5b0d28
in fact, if we're being serious, linear_flip_to doesn't need flip eval either since it calls a function which does a flip eval
...
SVN revision: 81465
2012-12-20 14:57:55 +00:00
Mike Blumenkrantz
fe991936c0
linear_flip_to already does a flip eval, don't need it here
...
SVN revision: 81464
2012-12-20 14:52:50 +00:00
Mike Blumenkrantz
6888d7b697
argh more of that desktop profile insanity that didn't get #ifdefs
...
SVN revision: 81458
2012-12-20 14:07:33 +00:00
Mike Blumenkrantz
7d1cc24f5c
only do pointer warp for sloppy focus if the mouse is currently over another window, otherwise just do the other focus-in manually
...
ticket #morlenxus
SVN revision: 81455
2012-12-20 13:52:49 +00:00
Mike Blumenkrantz
a9e313bb1c
always set last focused focus on desk change
...
SVN revision: 81454
2012-12-20 13:51:08 +00:00
Carsten Haitzler
1f745881d9
series of dialogs that were not resizable but should be, are now.
...
SVN revision: 81434
2012-12-20 10:07:30 +00:00
Mike Blumenkrantz
68e80049c7
improve xkb init: don't call setxkbmap more than once, wait a short while on a timer before setting the layout group to (hopefully) ensure that setxkbmap has completed before trying to set the group number
...
SVN revision: 81430
2012-12-20 09:27:35 +00:00
Boris Faure
c9dfe38ac2
e:slider: delete timer early to avoid losing it. Fix #2050
...
SVN revision: 81408
2012-12-19 22:34:37 +00:00
Massimo Maiurana
c4058ca063
Make some error dialogs translatable (patch from Igor Murzov)
...
SVN revision: 81394
2012-12-19 17:45:04 +00:00
Mike Blumenkrantz
271f92f912
ahh never too late for an API/ABI break. e_icon_file_get now returns edje group, which fixes fileman border icons
...
ticket #rasternaggedme
SVN revision: 81387
2012-12-19 17:00:10 +00:00
Christopher Michael
39b6588855
Revert exposing the try_restore_config function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81375
2012-12-19 15:39:31 +00:00
Christopher Michael
1012d6be1d
Change e_randr_12_try_enable_output to be exported via EAPI.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81366
2012-12-19 14:21:44 +00:00
Christopher Michael
4d4fd44b39
Expose the e_randr_12_try_enable_output function via EAPI.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81365
2012-12-19 14:21:39 +00:00
Mike Blumenkrantz
ae7ca9105f
Hi,
...
here is a patch.
1. free() already null-checks the passed argument, so it is not
necessary to do 'if(x) free(x)'.
2. Moved some '{free(x); x = NULL}' to E_FREE.
3. In e_start_main.c, 'buf' is allocated with the size of the
two arguments + '=', so we don't need to check for lenght;
we should use sprintf().
thanks
Maxime Villard
SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz
b393de2eaa
fix shelf autohide on click
...
ticket #2051
SVN revision: 81362
2012-12-19 13:59:36 +00:00
Mike Blumenkrantz
4ff6488dfa
apparently scrollframe has its own key grabs??? wtf???
...
ticket #2043
SVN revision: 81355
2012-12-19 12:29:47 +00:00
Mike Blumenkrantz
ddd898bdac
"set as background" ctx action now sets default bg instead of current desk bg
...
ticket #2042
SVN revision: 81352
2012-12-19 11:13:23 +00:00
Mike Blumenkrantz
d6b83ff15e
don't return blank locale parts
...
SVN revision: 81340
2012-12-19 09:52:14 +00:00
Mike Blumenkrantz
43dca4ccd8
don't leak efreet menus!
...
SVN revision: 81338
2012-12-19 09:44:55 +00:00
Mike Blumenkrantz
91aad68829
e_util_strcmp now checks if ptrs are equal before running strcmp
...
SVN revision: 81336
2012-12-19 09:39:35 +00:00
Mike Blumenkrantz
24ce5a79a3
initialize var for static analyzer
...
SVN revision: 81333
2012-12-19 09:27:51 +00:00
Mike Blumenkrantz
602c4dd07a
change shelf style during config while gadcon is unpopulated for a small speedup, also fixes crash when changing size and style
...
ticket #2048
SVN revision: 81332
2012-12-19 09:18:11 +00:00
Mike Blumenkrantz
aa35b742c5
don't stop filling a gadcon if one (systray) fails to create
...
SVN revision: 81331
2012-12-19 09:17:05 +00:00
Mike Blumenkrantz
44c599480b
changing shelf style no longer repopulates the gadcon
...
SVN revision: 81329
2012-12-19 09:16:09 +00:00
Mike Blumenkrantz
504c88e033
fix shelf autohiding for when people slowly, over the course of an hour or longer, move their mouses a single pixel distance out of the shelf onto a gtk app
...
ticket #1884
SVN revision: 81327
2012-12-19 08:55:51 +00:00
Carsten Haitzler
47c5345f55
lets not make the buffer so small (256 chars). with utf8 this could be
...
as little as 42 letters... in theory.... :) 1024 is better.
SVN revision: 81318
2012-12-19 01:33:20 +00:00
Mike Blumenkrantz
cfd42b1c6b
efm no longer allows renaming files over other files or into directories
...
ticket #2024
SVN revision: 81253
2012-12-18 14:08:39 +00:00
Mike Blumenkrantz
45a263b793
trivial formatting
...
SVN revision: 81249
2012-12-18 13:40:10 +00:00
Mike Blumenkrantz
9bfd23edab
whoops forgot to set r
...
SVN revision: 81244
2012-12-18 13:07:57 +00:00
Mike Blumenkrantz
ab1455310a
fix opening a .desktop file which is a link to a file
...
SVN revision: 81243
2012-12-18 12:28:37 +00:00
Mike Blumenkrantz
317ca83733
delete smart callbacks when deleting efm toolbar
...
ticket #2026
SVN revision: 81242
2012-12-18 12:16:47 +00:00
Mike Blumenkrantz
3577ddfff2
fix e_intl_locale_parts_combine() usage to handle locales without regions
...
SVN revision: 81241
2012-12-18 12:10:33 +00:00
Mike Blumenkrantz
747a446838
apparently efreet_menu_get() uses timers and such for some reason, sigh. back to threadless we go for this
...
SVN revision: 81239
2012-12-18 12:01:59 +00:00
Christopher Michael
edf54d9d1b
Make sure we have a valid monitor edid_hash Before trying to append it
...
to the serialized config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81238
2012-12-18 11:15:25 +00:00
Christopher Michael
290423c477
Fix incorrect types used in _e_config_randr_mode_info_edd:
...
randr structure for this uses unsigned int, not int, so store them
in unsigned.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81237
2012-12-18 11:14:31 +00:00
Mike Blumenkrantz
37a539bf80
simplify string lowercasing in intl post-init
...
SVN revision: 81235
2012-12-18 11:10:00 +00:00
Mike Blumenkrantz
77d578451c
fix retrieving locale parts if region is not present
...
SVN revision: 81233
2012-12-18 11:04:00 +00:00
Mike Blumenkrantz
1199fc9807
okay, exposing icon object not such a great idea considering it gets deleted and recreated constantly
...
SVN revision: 81230
2012-12-18 10:12:47 +00:00
Mike Blumenkrantz
d54e0dd00b
add efm icon object to icon info so people can hook callbacks to it
...
SVN revision: 81228
2012-12-18 09:39:10 +00:00
Mike Blumenkrantz
a658db2782
use e_util_strcmp, set current gadcon style menu item to disabled, only use default style as menu item if current style not set
...
ticket #2023
SVN revision: 81226
2012-12-18 09:30:35 +00:00
Mike Blumenkrantz
558894792f
fix gadcon stringshare usage
...
SVN revision: 81225
2012-12-18 09:25:48 +00:00
Mike Blumenkrantz
adae1d9000
prevent shelf artifacts when re-creating shelf after config
...
ticket #2005
SVN revision: 81224
2012-12-18 09:20:32 +00:00
Mike Blumenkrantz
6c71c50732
whoops, ensure we unmount the deleted mount object after the mount ops are run
...
SVN revision: 81204
2012-12-18 06:11:03 +00:00
Mike Blumenkrantz
f0965845b5
handle better a startup where a config cannot be loaded
...
ticket #2003
SVN revision: 81163
2012-12-17 16:12:32 +00:00
Mike Blumenkrantz
46f630f103
efm finally does something other than flail around helplessly when you drag stuff onto the icon of another device
...
ticket #2000 , fuck DND
SVN revision: 81162
2012-12-17 15:59:43 +00:00
Christopher Michael
a6d983b1a8
Include private header before public one (without this change, build
...
breaks).
Export e_randr_try_restore_configuration function so it can be used
from the RandR module.
Combine serialized_setup_new code into one function (No reason for
additional function call).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81159
2012-12-17 15:46:50 +00:00