commit gnome-control-center for openSUSE:Factory
Hello community, here is the log from the commit of package gnome-control-center for openSUSE:Factory checked in at Tue Oct 6 05:04:08 CEST 2009. -------- --- GNOME/gnome-control-center/gnome-control-center.changes 2009-08-30 10:45:36.000000000 +0200 +++ gnome-control-center/gnome-control-center.changes 2009-10-05 15:02:54.000000000 +0200 @@ -1,0 +2,33 @@ +Sat Oct 3 10:20:28 CEST 2009 - vuntz@opensuse.org + +- Add gnome-control-center-default-app-xterm.patch to correctly set + the exec arg gconf key when changing the preferred terminal. Fix + bnc#544006. + +------------------------------------------------------------------- +Mon Sep 21 23:22:55 CEST 2009 - dimstar@opensuse.org + +- Update to version 2.28.0: + + Appearance: + - bgo#323323 - Add link buttons to get more themes/backgrounds + online + - bgo#592510 - Add/remove buttons should be the same size + - bgo#591375 - Make slideshows visually distinct + - Don't call gnome_wp_item_ensure_gnome_bg too early + - Rename some widget ids to make GtkBuilder happy + - Use XDG user and system data dirs to load backgrounds + - Fix compiler warnings + - bgo#584342 - Make the font DPI spin button work again + - Show correct default layout + - bgo#594718 - Update icon because the old one has been removed + from g-i-t + - bgo#594066 - Allow a window manager to inherit keybindings + from another window manager + - Force cursor slide to 100 px, in order to use it without + changing the window width + + Common: + - bgo#592920 - Drop check for libgnomeui + + Updated translations. +- Drop libgnomeui-devel BuildRequires. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gnome-control-center-2.27.91.tar.bz2 New: ---- gnome-control-center-2.28.0.tar.bz2 gnome-control-center-default-app-xterm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-control-center.spec ++++++ --- /var/tmp/diff_new_pack.5HZ7Zj/_old 2009-10-06 05:03:30.000000000 +0200 +++ /var/tmp/diff_new_pack.5HZ7Zj/_new 2009-10-06 05:03:30.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package gnome-control-center (Version 2.27.91) +# spec file for package gnome-control-center (Version 2.28.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -29,7 +29,6 @@ BuildRequires: gnome-settings-daemon-devel BuildRequires: intltool BuildRequires: libgnomekbd-devel -BuildRequires: libgnomeui-devel BuildRequires: librsvg-devel BuildRequires: libunique-devel BuildRequires: libxklavier-devel @@ -40,7 +39,7 @@ Group: System/GUI/GNOME Obsoletes: fontilus themus acme Provides: fontilus themus acme -Version: 2.27.91 +Version: 2.28.0 Release: 1 Summary: The GNOME Control Center Source: %{name}-%{version}.tar.bz2 @@ -54,6 +53,8 @@ Patch30: gnome-control-center-bnc373197-layout-switch-keybinding.patch # PATCH-FIX-UPSTREAM gnome-control-center-bnc436206-add-to-default.patch bnc436206 sreeves@novell.com -- Add groupwise to defaults list Patch31: gnome-control-center-bnc436206-add-to-default.patch +# PATCH-FIX-UPSTREAM gnome-control-center-default-app-xterm.patch bnc544006 bgo597185 vuntz@opensuse.org -- exec_arg key wasn't set when changing the terminal +Patch32: gnome-control-center-default-app-xterm.patch Url: http://www.gnome.org Requires: nautilus gnome-settings-daemon gnome-menus libcanberra-gtk Requires: %{name}-lang = %{version} @@ -107,6 +108,7 @@ %patch28 %patch30 -p1 %patch31 -p1 +%patch32 -p1 %build autoreconf -f -i ++++++ gnome-control-center-2.27.91.tar.bz2 -> gnome-control-center-2.28.0.tar.bz2 ++++++ ++++ 131185 lines of diff (skipped) ++++++ gnome-control-center-default-app-xterm.patch ++++++
From f36a1c80f1b38a61cbee07e79462bddd41e0f996 Mon Sep 17 00:00:00 2001 From: Vincent Untz
Date: Sat, 3 Oct 2009 10:14:24 +0200 Subject: [PATCH] [defaultapplications] Update the exec arg when changing terminal
When selecting a known terminal from the combo box, also update the exec arg gconf key to the known value from the xml file. https://bugzilla.gnome.org/show_bug.cgi?id=597185 --- capplets/default-applications/gnome-da-capplet.c | 52 ++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/capplets/default-applications/gnome-da-capplet.c b/capplets/default-applications/gnome-da-capplet.c index 38fb9db..eed2690 100644 --- a/capplets/default-applications/gnome-da-capplet.c +++ b/capplets/default-applications/gnome-da-capplet.c @@ -573,6 +573,50 @@ combo_conv_from_widget (GConfPropertyEditor *peditor, const GConfValue *value) } } +static GConfValue* +combo_conv_from_widget_term_flag (GConfPropertyEditor *peditor, const GConfValue *value) +{ + GConfValue *ret; + GList *handlers; + gint index; + GnomeDATermItem *item; + + g_object_get (G_OBJECT (peditor), "data", &handlers, NULL); + index = gconf_value_get_int (value); + + item = g_list_nth_data (handlers, index); + ret = gconf_value_new (GCONF_VALUE_STRING); + + if (!item) + { + /* if item was not found, this is probably the "Custom" item */ + + /* XXX: returning "" as the value here is not ideal, but required to + * prevent the combo box from jumping back to the previous value if the + * user has selected Custom */ + gconf_value_set_string (ret, ""); + return ret; + } + else + { + gconf_value_set_string (ret, item->exec_flag); + return ret; + } +} + +static GConfValue* +combo_conv_to_widget_term_flag (GConfPropertyEditor *peditor, const GConfValue *value) +{ + GConfValue *ret; + GtkComboBox *combo; + + combo = GTK_COMBO_BOX (gconf_property_editor_get_ui_control (peditor)); + + ret = gconf_value_new (GCONF_VALUE_INT); + gconf_value_set_int (ret, gtk_combo_box_get_active (combo)); + return ret; +} + static gboolean is_separator (GtkTreeModel *model, GtkTreeIter *iter, gpointer sep_index) { @@ -814,6 +858,14 @@ show_dialog (GnomeDACapplet *capplet, const gchar *start_page) "data", capplet->terminals, NULL); + gconf_peditor_new_combo_box (NULL, + DEFAULT_APPS_KEY_TERMINAL_EXEC_ARG, + capplet->term_combo_box, + "conv-from-widget-cb", combo_conv_from_widget_term_flag, + "conv-to-widget-cb", combo_conv_to_widget_term_flag, + "data", capplet->terminals, + NULL); + gconf_peditor_new_string (NULL, DEFAULT_APPS_KEY_TERMINAL_EXEC, capplet->terminal_command_entry, -- 1.6.4.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de