summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-22[mouse] remove deprecated gdk_drawable_get_size & gdk_drawable_get_screenJasmine Hassan1-8/+4
Since we now require GTK 2.24, we can directly use gdk_window_get_width(), gdk_window_get_height(), and gdk_window_get_screen()
2012-12-22[keyboard] don't use deprecated gdk_spawn API.Jasmine Hassan1-3/+16
And use: gdk_display_get_app_launch_context() on GTK3 gdk_app_launch_context_new() on GTK2
2012-12-22[general] replace deprecations, use GDK X11 API, bump GTK+ to 2.24Jasmine Hassan3-4/+4
for: gdk_x11_window_lookup_for_display() gdk_x11_window_foreign_new_for_display()
2012-12-17Merge pull request #33 from bhull2010/masterStefano Karapetsas1-1/+4
Restore volume-step preference instead of hardcoding it
2012-12-16Restore preference for volume step instead of hardcoding itBrent Hull1-1/+4
2012-12-15Merge pull request #31 from jasmineaura/developStefano Karapetsas23-532/+508
background revised, various other fixes & improvements
2012-12-15[keyboard] add g_strv_behead, reduce code & fix filter_xkb_config()Jasmine Hassan1-32/+21
Fixes compiler warning: 'i' may be used uninitialized in this function Indeed, rather than initializing 'i' to zero, 'lv' (char arr of **lv) was erroneously being assigned the value of 0 in the for loop's initialization. g_strv_behead copied from gkbd_strv_behead from libgnomekbd/gkbd-util.c For reference: Using shared gkbd_strv_* utility functions, reducing the code http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=f62d0846143b8a65606daa6860e6b2cd7f9cb465
2012-12-15[keyboard] fix g_format_size_for_display deprecation (GLIB 2.30)Jasmine Hassan1-0/+5
2012-12-15[plugins] various small fixes/improvementsJasmine Hassan3-40/+34
In plugins/housekeeping/gsd-ldsm-dialog.c - Initialize GSList ignore_paths before use - Use g_slist_prepend instead of _append in loop (more efficient), reverse after In plugins/media-keys/msd-media-keys-manager.c - Default to mate-terminal if terminal "exec" key is empty In plugins/xrandr/msd-xrandr-manager.c - Only start_or_stop_icon when the show icon key actually changes Also, adapt this for media-keys plugin: Don't use org.gnome.settings-daemon for volume_step setting http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=1a9eea8224d41643a8a7a05d799198058e36e1a8
2012-12-15[keyboard] Don't cast dialog to GTK_OBJECT on GTK3Jasmine Hassan1-0/+4
2012-12-15[mouse] Don't switch mouse buttons for XTest devicesJasmine Hassan1-0/+1
Fix fake events generated by applications being the wrong button. https://bugzilla.gnome.org/show_bug.cgi?id=627084
2012-12-15[data] Add daemon path to pkg-config filesJasmine Hassan2-0/+2
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=85546d7902977d14f2a4894284acb3d9915097f6
2012-12-15[keyboard] Give a name to the keyboard status iconJasmine Hassan1-0/+1
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=2674a0fa89abb08443d8f93da6fe9ae7f81c1120
2012-12-15[datetime] fix deprecated polkit_authority_get(), bump to 0.97Jasmine Hassan2-3/+9
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d08b1b05997b3591c7ac1eefebd04a503c97c06e and bump PolicyKit minimum required to 0.97 http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d1c499e9e6b2aae3b0d1e0004e38f1d280e31144
2012-12-15[all] Silence build by default, and remove unneeded version requirementsJasmine Hassan6-10/+10
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=b9b785508085d77818c76ab4aed8ee574dbd1756
2012-12-15[plugins] only link background/xrandr to mate-desktop, not main processJasmine Hassan3-5/+15
Most of the plugins do not need gnome-desktop's functionality, so there is no point in the main process linking against it. http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ed54ceee46b6a56613c8aeb3d594f6a485400ef9
2012-12-15[plugins] Fix some deprecations (GTK2/GTK3)Jasmine Hassan4-13/+12
a11y-keyboard: gtk_dialog_set_has_separator(), deprecated in GTK+ 2.22 common|mouse: prefix GDK key constants with _KEY (GTK3)
2012-12-15[mouse] Replace Gdk drawing with Cairo (GTK3)Jasmine Hassan1-13/+12
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=1c1677dcfd55eb7e1f6a20435af466331ec2a911
2012-12-15[housekeeping] Use g_settings_get_mapped, fix paranoid cleanup on shutdownJasmine Hassan1-44/+62
1. Use g_settings_get_mapped instead of our own hack get_gsettings_int_with_default. 2. Don't force hard-coded default when value is 0, as that's used to allow paranoid scanning on shutdown. 3. Only unref the settings object at the end of _stop routine, not before do_cleanup is potentially called, since purge_thumbnail_cache uses the settings. This was also causing asserts when killing msd, as described in (now closed) #23. These are regressions introduced by the gsettings port of the plugin -- 03478b4d
2012-12-14[housekeeping] Remove GtkObject & gtk_dialog_set_has_separator deprecationsJasmine Hassan3-5/+2
gtk_dialog_set_has_separator deprecated in GTK+ 2.21.8 simple gtk_object -> gtk_widget switch for GTK3 forward compat.
2012-12-13[background] cleanup and refactor, fix several issuesJasmine Hassan1-329/+314
Namely: 1. In caja_is_drawing..(), only get atom for WM_CLASS property if it exists. 2. Cache gsettings draw-background & show-desktop-icons key-values, and only update when either actually changes, to avoid unnecessary queries to the dconf-service. 3. Avoid conflicts between settings_change_event_cb() & on_bg_handling_changed(). 4. Keep track of screen sizes, to ensure size actually changed when signalled, to avoid double-redraw on an extraneous signal, which can lockup the daemon, because we draw immediately (w/out g_idle_add). Though we don't fade in re-draws triggered by size/monitors-changed signals, making all re-draws queued causes issues with fading, when we do fade (on bg change), and queueing is unnecessary here anyway. 5. Track a redraw in progress, to avoid any possible (and unforseeable) clashes.
2012-12-10[background] free priv->fade on stopJasmine Hassan1-14/+17
2012-12-10[background] remove useless _(set|get)_property & _dispose methodsJasmine Hassan1-37/+0
2012-12-07Merge pull request #29 from jasmineaura/developStefano Karapetsas52-1992/+344
Fix #23, and some cleanups
2012-12-06[general] Use g_timeout_add_seconds() where appropriateJasmine Hassan2-2/+2
instead of g_timeout_add(). daemon: Use g_timeout_add_seconds (30 seconds) http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=61c8ca9ad8add09830e72d0c10b97f59e80dd0f5 smartcard: Use g_timeout_add_seconds() (2 seconds) http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5e85aa9cdf6624effea5a890a2516f11d25a8bf3
2012-12-06[font] remove outdated (disabled by default) plugin & schemaJasmine Hassan12-905/+0
Was used to setup old X legacy fonts, and was disabled by default in bug: https://bugzilla.gnome.org/show_bug.cgi?id=613604
2012-12-06[keyboard] remove horrible xmodmap fallback codeJasmine Hassan6-787/+0
had xklavier-related warning everytime m-s-d is started, specifically after we stopped daemonizing the daemon, in a previous commit. and the bug revolves around libxklavier issue https://bugzilla.gnome.org/show_bug.cgi?id=150542 http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=4239cb8a5d73af79d2cdf0f294a33d31fbbb9afe http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=241c970c1361c4d1b2663af20252ef127055d768
2012-12-06[media-keys] Update volume code (should be copy-paste from mate-media)Jasmine Hassan13-110/+138
Updates volume code from gnome-media http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5f4b71733713741ec6c48480e3ddc73bf72eb290 referenced bug also says fixes a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=612024
2012-12-06[plugins] cleanup macro magic in plugin.hJasmine Hassan16-174/+152
And instead, use glib macros (since 2.14) http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=0dda56c4462e070dabdab68092b6574b5e894181
2012-12-05[xsettings] quick 'n dirty gsettings port review continuedJasmine Hassan1-2/+8
for reference: xsettings: Port XSettings sync to GSettings http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=6d7498114930de358573e97f54880c586c9f9c66
2012-12-05[daemon] quick 'n dirty initial review of gsettings portJasmine Hassan4-17/+49
1. import: Don't choke if there are old plugins laying around http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=18e57e126ff6a6ab2980c119aebef087227e2a54 2. Alleviate #23 -- no more "g_object_unref: assertion 'G_IS_OBJECT (object)' failed" when starting m-c-c "Appearance" properties.
2012-12-03bump version to 1.5.4mate-settings-daemon-1.5.4Stefano Karapetsas1-1/+1
2012-12-03Merge pull request #25 from jasmineaura/developStefano Karapetsas1-13/+17
[background] Use new MATE_BG_KEY's defines in mate-bg.h, and fade option
2012-12-03[background] Use new MATE_BG_KEY's defines from mate-bg.h, and fade optionJasmine Hassan1-13/+17
Observe new mate-bg (global) fade option, via do_crossfade_background() Change dont_draw_background() to a do_, to avoid double-negative like !dont.
2012-12-03Merge pull request #24 from jasmineaura/developStefano Karapetsas2-472/+515
background revamped
2012-12-03[background] fix XGetWindowProperty long_length & nitems_return paramsJasmine Hassan1-2/+2
from 24 -> 20, to account for 'nautilus' -> 'caja' change (4 bytes less).
2012-12-03[background] Also check if caja is drawing bg when detecting settings changesJasmine Hassan1-2/+5
hopefully to avoid taking over background-drawing when Caja is doing it.
2012-12-01[background] listen for draw-background/show-desktop-icons changed signalsJasmine Hassan1-1/+15
Because we should handle the background drawing when either: - "draw-background" is re-enabled, or - "show-desktop-icons" is disabled. N.B. We may still need to consider this issue, which was never resolved in gnome, because they stopped auto-launching nautilus & removed it from 3.0 sessions: Nautilus registers with the session before it's ready. https://bugzilla.gnome.org/show_bug.cgi?id=568588 Would also be wise to import the (recent) changes made in the bug below: Provide a singleton SessionManager proxy object https://bugzilla.gnome.org/show_bug.cgi?id=686556
2012-12-01[background] Don't draw the background if "draw-background" is falseJasmine Hassan1-1/+10
https://bugzilla.gnome.org/show_bug.cgi?id=564909
2012-12-01[background] GCC 4.6 warning fixesJasmine Hassan1-40/+24
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=da9bd9769caa0f776edf5636c6ae09ba425d6f6e
2012-12-01[background] stop pending fades if new ones initiatedJasmine Hassan1-16/+22
prevents some strange flicker when quickly selecting multiple backgrounds http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5cb80995b6899c6ed185797333b709ea9342de42
2012-12-01[configure] bump GIO version to 2.26Jasmine Hassan1-1/+1
need it for g_dbus_proxy_new_for_bus_sync(), used in previous commit.
2012-12-01[background] convert to GDBus (and fix delayed background drawing)Jasmine Hassan1-41/+64
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=34d6831d7bf5fdf869f1b4802d8920c4a90825db
2012-12-01[background] review GSettings, don't rely on Caja as a key componentJasmine Hassan1-86/+85
and use new mate-bg API ("show-desktop-icons") For reference, see: Port backround module to GSettings http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=23b50dfc7078b78a513598060ee22ae46c262534 http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=c9d62bab8acb166aa720fa5d0356657177be6be5 background: always check if Nautilus is running http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d22b75db508a792e3786a2011b707e930a0f0355 background: reintroduce GnomeBg "changed" signal http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d7a6f707c9e6f924fea7565967d9c5c1ad8b1533 background: Listen to screen changes only after GnomeBg is constructed http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d6d12b643aeec91fa3d1ed19104f1c0d1ded7870
2012-11-29[background] Adapt to MateBG API changes, and GTK3 rendering-cleanupJasmine Hassan1-12/+20
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=d38bb683005b71f3bf483aafee2f7c36d800a0c7
2012-11-29[background] fix indentationJasmine Hassan1-444/+441
2012-11-24Merge pull request #22 from dmashal/masterStefano Karapetsas3-2/+4
stop generating version specific libdirs for plugins and fix CVE-2012-5560
2012-11-24really fix CVE2012-5560Dan Mashal1-1/+1
2012-11-23Fix CVE-2012-5560Dan Mashal1-0/+2
2012-11-22stop generating version specific libdirs for pluginsDan Mashal1-1/+1