gnome-control-center r9403 - trunk/capplets/default-applications
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9403 - trunk/capplets/default-applications
- Date: Mon, 6 Apr 2009 17:06:00 +0000 (UTC)
Author: matthiasc
Date: Mon Apr 6 17:06:00 2009
New Revision: 9403
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9403&view=rev
Log:
Fix custom entries getting out of sync with gconf
Modified:
trunk/capplets/default-applications/ChangeLog
trunk/capplets/default-applications/gnome-da-capplet.c
Modified: trunk/capplets/default-applications/gnome-da-capplet.c
==============================================================================
--- trunk/capplets/default-applications/gnome-da-capplet.c (original)
+++ trunk/capplets/default-applications/gnome-da-capplet.c Mon Apr 6 17:06:00 2009
@@ -77,10 +77,10 @@
return;
item = (GnomeDAWebItem *) g_list_nth_data (capplet->web_browsers, index);
- if (item == NULL)
- return;
-
- if (togglebutton == capplet->new_win_radiobutton) {
+ if (item == NULL) {
+ command = "";
+ }
+ else if (togglebutton == capplet->new_win_radiobutton) {
command = item->win_command;
}
else if (togglebutton == capplet->new_tab_radiobutton) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]