epiphany r8231 - in branches/gnome-2-22: data/glade src



Author: chpe
Date: Sun May 18 21:50:26 2008
New Revision: 8231
URL: http://svn.gnome.org/viewvc/epiphany?rev=8231&view=rev

Log:
Fix crash in PDM when clicking cookie properties button without a selected cookie. Bug #504136, patch by Michael Wolf.


Modified:
   branches/gnome-2-22/data/glade/epiphany.glade
   branches/gnome-2-22/src/pdm-dialog.c

Modified: branches/gnome-2-22/data/glade/epiphany.glade
==============================================================================
--- branches/gnome-2-22/data/glade/epiphany.glade	(original)
+++ branches/gnome-2-22/data/glade/epiphany.glade	Sun May 18 21:50:26 2008
@@ -213,6 +213,7 @@
 		  <child>
 		    <widget class="GtkButton" id="cookies_properties_button">
 		      <property name="visible">True</property>
+		      <property name="sensitive">False</property>
 		      <property name="can_default">True</property>
 		      <property name="can_focus">True</property>
 		      <property name="label">gtk-properties</property>

Modified: branches/gnome-2-22/src/pdm-dialog.c
==============================================================================
--- branches/gnome-2-22/src/pdm-dialog.c	(original)
+++ branches/gnome-2-22/src/pdm-dialog.c	Sun May 18 21:50:26 2008
@@ -803,6 +803,7 @@
 	info->model = GTK_TREE_MODEL (liststore);
 	g_object_unref (liststore);
 
+        cookies_treeview_selection_changed_cb (selection, dialog);
 	g_signal_connect (selection, "changed",
 			  G_CALLBACK(cookies_treeview_selection_changed_cb),
 			  dialog);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]