Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull in Gnome git changes since 2.32.0 #1

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9c239ca
add .gitignore
benpicco Jan 19, 2012
489e5ad
Update Czech translation
pmkovar Sep 27, 2010
7c0fa89
Updated Basque language
dooteo Sep 28, 2010
27b9075
Updated Catalan translation
jodufi Sep 29, 2010
4d5f956
Updated Korean translation
changwoo Oct 8, 2010
02fb6b7
Revert "Fix launching the display configuration tool"
vuntz Oct 12, 2010
7ccab95
Updated Catalan (Valencian) translation
Oct 29, 2010
dbe0823
(randr) bnc#647304 - If the stored configuration fails at startup, us…
Oct 29, 2010
f027e59
housekeeping: Don't access free'd memory if a volume is unmounted whi…
Nov 5, 2010
718d75a
RANDR - Add mateconf key for disabling boot time configuration
martinpitt Oct 5, 2010
ca3ad22
xrandr: Use Xorg monitor settings by default
hadess Nov 5, 2010
e4d66dd
Updated German translation
Nov 5, 2010
4d0c285
Updated Slovenian translation
Nov 6, 2010
4525666
Updated Spanish translation
Nov 8, 2010
b127296
Updated Galician translations
frandieguez Nov 9, 2010
d4bd069
Updated Brazilian Portuguese translation
dnoway Nov 10, 2010
a480b5b
Updated Hungarian translation
Nov 13, 2010
3e2b3aa
Updated Polish translation
piotrdrag Nov 14, 2010
9bebc48
Updated British English translation
SuborbitalPigeon Nov 14, 2010
11d3275
Update Czech translation
pmkovar Nov 15, 2010
3a53e95
Updated Estonian translation
ookull Nov 15, 2010
f4446ae
Updated Catalan translation
gforcada Dec 26, 2010
e5a8e79
Updated Swedish translation
yeager Dec 29, 2010
710473e
Updated Latvian translation.
Mazurs Mar 9, 2011
dbdef43
l10n: Updated Greek translation for mate-settings-daemon
Mar 16, 2011
705bdff
Updated Hebrew translation.
yarons Mar 17, 2011
f8e9d97
Updated French translation
annoab Mar 24, 2011
3dfa315
media-keys: React to stream-removed signal from GvcMixerControl
Apr 19, 2011
eb77b5a
Updated Turkish translation
mrkara Apr 23, 2011
c1ff5e5
Updated Serbian translation
mirosnik1 Jun 12, 2011
9410678
Updated asturian translation
Sep 27, 2011
2c80f86
Updated Danish translation
Sep 30, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
aclocal.m4
autom4te.cache
compile
config.guess
config.h*
config.log
config.status
config.sub
configure
depcomp
INSTALL
install-sh
intltool-*
libtool
ltmain.sh
Makefile
Makefile.in
Makefile.in.in
missing
mkinstalldirs
*.o
*.lo
*.a
*.la
*.gmo
po/POTFILES
po/stamp-it
stamp-h1
.deps
.libs
gnome-settings-daemon/gnome-settings-client.h
gnome-settings-daemon/gnome-settings-daemon
gnome-settings-daemon/gnome-settings-manager-glue.h
data/*.pc
data/*.schemas
data/gnome-settings-daemon.desktop
data/gnome-settings-daemon.desktop.in
data/50-accessibility.xml
data/org.gnome.SettingsDaemon.service
*.gnome-settings-plugin
plugins/a11y-keyboard/test-a11y-preferences-dialog
plugins/background/test-background
plugins/media-keys/gsd-marshal.c
plugins/media-keys/gsd-marshal.h
plugins/media-keys/gsd-media-keys-manager-glue.h
plugins/media-keys/test-media-keys
plugins/media-keys/test-media-window
plugins/mouse/gsd-locate-pointer
plugins/xrandr/gsd-xrandr-manager-glue.h
19 changes: 19 additions & 0 deletions data/apps_mate_settings_daemon_xrandr.schemas.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@
</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/mate_settings_daemon/xrandr/use_xorg_monitor_settings</key>
<applyto>/apps/mate_settings_daemon/xrandr/use_xorg_monitor_settings</applyto>
<owner>mate</owner>
<type>bool</type>
<default>true</default>
<locale name="C">
<short>Do not touch monitor configuration</short>
<long>Usually, mate-settings-daemon configures internal and
external monitors according to the
turn_on_external_monitors_at_startup and
turn_on_laptop_monitor_at_startup settings and determines
an appropriate cloning/side-by-side mode. Setting this key
to True disables this, and the monitor settings are not
touched at all (unless there is an explicit user
configuration).
</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/mate_settings_daemon/xrandr/turn_on_external_monitors_at_startup</key>
<applyto>/apps/mate_settings_daemon/xrandr/turn_on_external_monitors_at_startup</applyto>
Expand Down
8 changes: 5 additions & 3 deletions plugins/housekeeping/gsd-disk-space.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ ldsm_notify_for_mount (LdsmMountInfo *mount,
gboolean has_trash;
gboolean has_disk_analyzer;
gboolean retval = TRUE;
const gchar *path;
gchar *path;

/* Don't show a dialog if one is already displayed */
if (dialog)
Expand All @@ -190,7 +190,7 @@ ldsm_notify_for_mount (LdsmMountInfo *mount,
name = g_unix_mount_guess_name (mount->mount);
free_space = (gint64) mount->buf.f_frsize * (gint64) mount->buf.f_bavail;
has_trash = ldsm_mount_has_trash (mount);
path = g_unix_mount_get_mount_path (mount->mount);
path = g_strdup (g_unix_mount_get_mount_path (mount->mount));

program = g_find_program_in_path (DISK_SPACE_ANALYZER);
has_disk_analyzer = (program != NULL);
Expand Down Expand Up @@ -218,7 +218,7 @@ ldsm_notify_for_mount (LdsmMountInfo *mount,
break;
case GSD_LDSM_DIALOG_RESPONSE_ANALYZE:
retval = FALSE;
ldsm_analyze_path (g_unix_mount_get_mount_path (mount->mount));
ldsm_analyze_path (path);
break;
case GSD_LDSM_DIALOG_RESPONSE_EMPTY_TRASH:
retval = TRUE;
Expand All @@ -232,6 +232,8 @@ ldsm_notify_for_mount (LdsmMountInfo *mount,
g_assert_not_reached ();
}

g_free (path);

return retval;
}

Expand Down
17 changes: 17 additions & 0 deletions plugins/media-keys/gsd-media-keys-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,19 @@ on_control_default_sink_changed (GvcMixerControl *control,
update_default_sink (manager);
}

static void
on_control_stream_removed (GvcMixerControl *control,
guint id,
GsdMediaKeysManager *manager)
{
if (manager->priv->stream != NULL) {
if (gvc_mixer_stream_get_id (manager->priv->stream) == id) {
g_object_unref (manager->priv->stream);
manager->priv->stream = NULL;
}
}
}

#endif /* HAVE_PULSE */

static gint
Expand Down Expand Up @@ -1125,6 +1138,10 @@ gsd_media_keys_manager_start (GsdMediaKeysManager *manager,
"default-sink-changed",
G_CALLBACK (on_control_default_sink_changed),
manager);
g_signal_connect (manager->priv->volume,
"stream-removed",
G_CALLBACK (on_control_stream_removed),
manager);

gvc_mixer_control_open (manager->priv->volume);

Expand Down
11 changes: 7 additions & 4 deletions plugins/xrandr/gsd-xrandr-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@

#define CONF_DIR "/apps/mate_settings_daemon/xrandr"
#define CONF_KEY_SHOW_NOTIFICATION_ICON (CONF_DIR "/show_notification_icon")
#define CONF_KEY_USE_XORG_MONITOR_SETTINGS (CONF_DIR "/use_xorg_monitor_settings")
#define CONF_KEY_TURN_ON_EXTERNAL_MONITORS_AT_STARTUP (CONF_DIR "/turn_on_external_monitors_at_startup")
#define CONF_KEY_TURN_ON_LAPTOP_MONITOR_AT_STARTUP (CONF_DIR "/turn_on_laptop_monitor_at_startup")
#define CONF_KEY_DEFAULT_CONFIGURATION_FILE (CONF_DIR "/default_configuration_file")
Expand All @@ -77,7 +78,7 @@
#define GSD_XRANDR_ICON_NAME "gsd-xrandr"

/* executable of the control center's display configuration capplet */
#define GSD_XRANDR_DISPLAY_CAPPLET "mate-control-center display"
#define GSD_XRANDR_DISPLAY_CAPPLET "mate-display-properties"

#define GSD_DBUS_PATH "/org/mate/SettingsDaemon"
#define GSD_DBUS_NAME "org.mate.SettingsDaemon"
Expand Down Expand Up @@ -2168,10 +2169,11 @@ apply_intended_configuration (GsdXrandrManager *manager, const char *intended_fi
gboolean result;

my_error = NULL;
result = apply_configuration_from_filename (manager, intended_filename, FALSE, timestamp, &my_error);
result = apply_configuration_from_filename (manager, intended_filename, TRUE, timestamp, &my_error);
if (!result) {
if (my_error) {
if (!g_error_matches (my_error, G_FILE_ERROR, G_FILE_ERROR_NOENT))
if (!g_error_matches (my_error, G_FILE_ERROR, G_FILE_ERROR_NOENT) &&
!g_error_matches (my_error, MATE_RR_ERROR, MATE_RR_ERROR_NO_MATCHING_CONFIG))
error_message (manager, _("Could not apply the stored configuration for monitors"), my_error, NULL);

g_error_free (my_error);
Expand Down Expand Up @@ -2349,7 +2351,8 @@ gsd_xrandr_manager_start (GsdXrandrManager *manager,
show_timestamps_dialog (manager, "Startup");
if (!apply_stored_configuration_at_startup (manager, GDK_CURRENT_TIME)) /* we don't have a real timestamp at startup anyway */
if (!apply_default_configuration_from_file (manager, GDK_CURRENT_TIME))
apply_default_boot_configuration (manager, GDK_CURRENT_TIME);
if (!mateconf_client_get_bool (manager->priv->client, CONF_KEY_USE_XORG_MONITOR_SETTINGS, NULL))
apply_default_boot_configuration (manager, GDK_CURRENT_TIME);

log_msg ("State of screen after initial configuration:\n");
log_screen (manager->priv->rw_screen);
Expand Down
Loading