[evolution-patches] Add IM Dialog HIGification



This patch adapts the add IM dialog to HIG recommendations when it comes
to spacing.

regs,
 Chris
? addressbook/gui/contact-editor/im.gladep
Index: addressbook/gui/contact-editor/im.glade
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/im.glade,v
retrieving revision 1.1
diff -u -r1.1 im.glade
--- addressbook/gui/contact-editor/im.glade	12 Jan 2004 03:35:25 -0000	1.1
+++ addressbook/gui/contact-editor/im.glade	7 Feb 2004 19:13:55 -0000
@@ -5,19 +5,25 @@
 <requires lib="gnome"/>
 
 <widget class="GtkDialog" id="dialog-im">
+  <property name="border_width">5</property>
   <property name="title" translatable="yes">Add IM Account</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">True</property>
   <property name="resizable">False</property>
   <property name="destroy_with_parent">False</property>
-  <property name="has_separator">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">False</property>
 
   <child internal-child="vbox">
     <widget class="GtkVBox" id="dialog-vbox1">
       <property name="visible">True</property>
       <property name="homogeneous">False</property>
-      <property name="spacing">0</property>
+      <property name="spacing">2</property>
 
       <child internal-child="action_area">
 	<widget class="GtkHButtonBox" id="dialog-action_area1">
@@ -32,6 +38,7 @@
 	      <property name="label">gtk-cancel</property>
 	      <property name="use_stock">True</property>
 	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
 	      <property name="response_id">-6</property>
 	    </widget>
 	  </child>
@@ -44,6 +51,7 @@
 	      <property name="label">gtk-ok</property>
 	      <property name="use_stock">True</property>
 	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
 	      <property name="response_id">-5</property>
 	    </widget>
 	  </child>
@@ -58,27 +66,28 @@
 
       <child>
 	<widget class="GtkTable" id="table-im">
-	  <property name="border_width">6</property>
+	  <property name="border_width">5</property>
 	  <property name="visible">True</property>
 	  <property name="n_rows">3</property>
 	  <property name="n_columns">2</property>
 	  <property name="homogeneous">False</property>
 	  <property name="row_spacing">6</property>
-	  <property name="column_spacing">6</property>
+	  <property name="column_spacing">12</property>
 
 	  <child>
 	    <widget class="GtkLabel" id="label-service">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">IM Service:</property>
-	      <property name="use_underline">False</property>
+	      <property name="label" translatable="yes">_IM Service:</property>
+	      <property name="use_underline">True</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
 	      <property name="wrap">False</property>
 	      <property name="selectable">False</property>
-	      <property name="xalign">1</property>
+	      <property name="xalign">0</property>
 	      <property name="yalign">0.5</property>
 	      <property name="xpad">0</property>
 	      <property name="ypad">0</property>
+	      <property name="mnemonic_widget">optmenu-service</property>
 	    </widget>
 	    <packing>
 	      <property name="left_attach">0</property>
@@ -109,16 +118,17 @@
 	  <child>
 	    <widget class="GtkLabel" id="label-username">
 	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">Account name:</property>
-	      <property name="use_underline">False</property>
+	      <property name="label" translatable="yes">_Account name:</property>
+	      <property name="use_underline">True</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
 	      <property name="wrap">False</property>
 	      <property name="selectable">False</property>
-	      <property name="xalign">1</property>
+	      <property name="xalign">0</property>
 	      <property name="yalign">0.5</property>
 	      <property name="xpad">0</property>
 	      <property name="ypad">0</property>
+	      <property name="mnemonic_widget">entry-username</property>
 	    </widget>
 	    <packing>
 	      <property name="left_attach">0</property>
@@ -153,16 +163,17 @@
 
 	  <child>
 	    <widget class="GtkLabel" id="label-location">
-	      <property name="label" translatable="yes">Location:</property>
-	      <property name="use_underline">False</property>
+	      <property name="label" translatable="yes">_Location:</property>
+	      <property name="use_underline">True</property>
 	      <property name="use_markup">False</property>
 	      <property name="justify">GTK_JUSTIFY_LEFT</property>
 	      <property name="wrap">False</property>
 	      <property name="selectable">False</property>
-	      <property name="xalign">1</property>
+	      <property name="xalign">0</property>
 	      <property name="yalign">0.5</property>
 	      <property name="xpad">0</property>
 	      <property name="ypad">0</property>
+	      <property name="mnemonic_widget">optmenu-location</property>
 	    </widget>
 	    <packing>
 	      <property name="left_attach">0</property>


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