vino r1057 - in trunk: . capplet



Author: jwendell
Date: Thu Jan 22 13:58:48 2009
New Revision: 1057
URL: http://svn.gnome.org/viewvc/vino?rev=1057&view=rev

Log:
2009-01-22  Jonh Wendell  <jwendell gnome org>

	* capplet/vino-preferences.[c,glade]:
	Use an eventbox in the connectivity label, closes #568690.



Modified:
   trunk/ChangeLog
   trunk/capplet/vino-preferences.c
   trunk/capplet/vino-preferences.glade

Modified: trunk/capplet/vino-preferences.c
==============================================================================
--- trunk/capplet/vino-preferences.c	(original)
+++ trunk/capplet/vino-preferences.c	Thu Jan 22 13:58:48 2009
@@ -972,13 +972,13 @@
 static void
 vino_preferences_dialog_setup_message_box (VinoPreferencesDialog *dialog)
 {
-  GtkWidget *message_box;
+  GtkWidget *event_box;
 
-  message_box = glade_xml_get_widget (dialog->xml, "message_box");
-  g_assert (message_box != NULL);
+  event_box = glade_xml_get_widget (dialog->xml, "event_box");
+  g_assert (event_box != NULL);
 
   dialog->message = vino_message_box_new ();
-  gtk_box_pack_end (GTK_BOX (message_box), dialog->message, TRUE, TRUE, 0);
+  gtk_container_add (GTK_CONTAINER (event_box), dialog->message);
   gtk_widget_show (dialog->message);
 
   vino_preferences_dialog_update_message_box (dialog);

Modified: trunk/capplet/vino-preferences.glade
==============================================================================
--- trunk/capplet/vino-preferences.glade	(original)
+++ trunk/capplet/vino-preferences.glade	Thu Jan 22 13:58:48 2009
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Fri Jan  9 12:24:40 2009 -->
+<!--Generated with glade3 3.4.5 on Thu Jan 22 10:53:57 2009 -->
 <glade-interface>
   <widget class="GtkDialog" id="vino_dialog">
     <property name="border_width">5</property>
@@ -145,7 +145,7 @@
                     <child>
                       <widget class="GtkLabel" id="label14">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">       </property>
+                        <property name="label">       </property>
                       </widget>
                       <packing>
                         <property name="expand">False</property>
@@ -153,7 +153,15 @@
                       </packing>
                     </child>
                     <child>
-                      <placeholder/>
+                      <widget class="GtkEventBox" id="event_box">
+                        <property name="visible">True</property>
+                        <child>
+                          <placeholder/>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="position">1</property>
+                      </packing>
                     </child>
                   </widget>
                   <packing>



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