make all dialogs HIG compliant by fixing spaces and removing separator

2005-12-16  Lucas Rocha  <lucasr@gnome.org>

        * src/zenity.glade: make all dialogs HIG compliant
        by fixing spaces and removing separator (Fixes bug
        #324211). Patch by Christian Persch <chpe@gnome.org>.
This commit is contained in:
Lucas Rocha 2005-12-17 02:22:51 +00:00 committed by Lucas Almeida Rocha
parent 54633f6c9c
commit 906b3397b2
2 changed files with 155 additions and 183 deletions

View File

@ -1,3 +1,9 @@
2005-12-16 Lucas Rocha <lucasr@gnome.org>
* src/zenity.glade: make all dialogs HIG compliant
by fixing spaces and removing separator (Fixes bug
#324211). Patch by Christian Persch <chpe@gnome.org>.
2005-12-15 Lucas Rocha <lucasr@gnome.org> 2005-12-15 Lucas Rocha <lucasr@gnome.org>
* src/option.c, src/scale.c, src/zenity.h: add * src/option.c, src/scale.c, src/zenity.h: add

View File

@ -4,6 +4,7 @@
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="zenity_calendar_dialog"> <widget class="GtkDialog" id="zenity_calendar_dialog">
<property name="border_width">5</property>
<property name="title" translatable="yes">Calendar selection</property> <property name="title" translatable="yes">Calendar selection</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -17,14 +18,14 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Fri, 27 Dec 2002 19:08:11 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Fri, 27 Dec 2002 19:08:11 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1"> <widget class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">2</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area1"> <widget class="GtkHButtonBox" id="dialog-action_area1">
@ -68,16 +69,16 @@
<child> <child>
<widget class="GtkVBox" id="vbox1"> <widget class="GtkVBox" id="vbox1">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkVBox" id="vbox2"> <widget class="GtkVBox" id="vbox2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">4</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="zenity_calendar_text"> <widget class="GtkLabel" id="zenity_calendar_text">
@ -105,7 +106,7 @@
</child> </child>
</widget> </widget>
<packing> <packing>
<property name="padding">12</property> <property name="padding">0</property>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
</packing> </packing>
@ -164,7 +165,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_warning_dialog"> <widget class="GtkDialog" id="zenity_warning_dialog">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Warning</property> <property name="title" translatable="yes">Warning</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -185,7 +186,7 @@
<widget class="GtkVBox" id="dialog-vbox2"> <widget class="GtkVBox" id="dialog-vbox2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">14</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area2"> <widget class="GtkHButtonBox" id="dialog-action_area2">
@ -229,7 +230,7 @@
<child> <child>
<widget class="GtkHBox" id="hbox1"> <widget class="GtkHBox" id="hbox1">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">12</property>
@ -327,7 +328,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_question_dialog"> <widget class="GtkDialog" id="zenity_question_dialog">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Question</property> <property name="title" translatable="yes">Question</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -348,7 +349,7 @@
<widget class="GtkVBox" id="dialog-vbox3"> <widget class="GtkVBox" id="dialog-vbox3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">14</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area3"> <widget class="GtkHButtonBox" id="dialog-action_area3">
@ -392,7 +393,7 @@
<child> <child>
<widget class="GtkHBox" id="hbox2"> <widget class="GtkHBox" id="hbox2">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">12</property>
@ -450,6 +451,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_entry_dialog"> <widget class="GtkDialog" id="zenity_entry_dialog">
<property name="border_width">5</property>
<property name="title" translatable="yes">Add a new entry</property> <property name="title" translatable="yes">Add a new entry</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -463,14 +465,14 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 12:15:37 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 12:15:37 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox4"> <widget class="GtkVBox" id="dialog-vbox4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">2</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area4"> <widget class="GtkHButtonBox" id="dialog-action_area4">
@ -523,7 +525,7 @@
<widget class="GtkVBox" id="vbox4"> <widget class="GtkVBox" id="vbox4">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="zenity_entry_text"> <widget class="GtkLabel" id="zenity_entry_text">
@ -575,7 +577,7 @@
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="padding">0</property>
<property name="expand">True</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
</packing> </packing>
</child> </child>
@ -591,7 +593,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_text_dialog"> <widget class="GtkDialog" id="zenity_text_dialog">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Text View</property> <property name="title" translatable="yes">Text View</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -614,7 +616,7 @@
<widget class="GtkVBox" id="dialog-vbox5"> <widget class="GtkVBox" id="dialog-vbox5">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">6</property> <property name="spacing">2</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area5"> <widget class="GtkHButtonBox" id="dialog-action_area5">
@ -644,7 +646,7 @@
<child> <child>
<widget class="GtkVBox" id="vbox5"> <widget class="GtkVBox" id="vbox5">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">0</property>
@ -696,6 +698,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_progress_dialog"> <widget class="GtkDialog" id="zenity_progress_dialog">
<property name="border_width">5</property>
<property name="title" translatable="yes">Progress</property> <property name="title" translatable="yes">Progress</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -709,14 +712,14 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 14:46:29 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 14:46:29 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox6"> <widget class="GtkVBox" id="dialog-vbox6">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">2</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area6"> <widget class="GtkHButtonBox" id="dialog-action_area6">
@ -759,18 +762,12 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkVBox" id="vbox6">
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child> <child>
<widget class="GtkVBox" id="vbox7"> <widget class="GtkVBox" id="vbox7">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">5</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="zenity_progress_text"> <widget class="GtkLabel" id="zenity_progress_text">
@ -820,18 +817,11 @@
</packing> </packing>
</child> </child>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child> </child>
</widget> </widget>
<widget class="GtkDialog" id="zenity_error_dialog"> <widget class="GtkDialog" id="zenity_error_dialog">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Error</property> <property name="title" translatable="yes">Error</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -852,7 +842,7 @@
<widget class="GtkVBox" id="dialog-vbox7"> <widget class="GtkVBox" id="dialog-vbox7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">14</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area7"> <widget class="GtkHButtonBox" id="dialog-action_area7">
@ -889,7 +879,7 @@
<child> <child>
<widget class="GtkHBox" id="hbox3"> <widget class="GtkHBox" id="hbox3">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">12</property>
@ -954,6 +944,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_tree_dialog"> <widget class="GtkDialog" id="zenity_tree_dialog">
<property name="border_width">5</property>
<property name="title" translatable="yes">Select items from the list</property> <property name="title" translatable="yes">Select items from the list</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -969,7 +960,7 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 22:19:04 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Sat, 28 Dec 2002 22:19:04 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
@ -1017,15 +1008,9 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkVBox" id="vbox9">
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child> <child>
<widget class="GtkVBox" id="vbox10"> <widget class="GtkVBox" id="vbox10">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">6</property> <property name="spacing">6</property>
@ -1061,7 +1046,7 @@
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
<property name="shadow_type">GTK_SHADOW_NONE</property> <property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child> <child>
@ -1093,18 +1078,11 @@
</packing> </packing>
</child> </child>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child> </child>
</widget> </widget>
<widget class="GtkDialog" id="zenity_info_dialog"> <widget class="GtkDialog" id="zenity_info_dialog">
<property name="border_width">6</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Information</property> <property name="title" translatable="yes">Information</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
@ -1125,7 +1103,7 @@
<widget class="GtkVBox" id="dialog-vbox7"> <widget class="GtkVBox" id="dialog-vbox7">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">14</property>
<child internal-child="action_area"> <child internal-child="action_area">
<widget class="GtkHButtonBox" id="dialog-action_area7"> <widget class="GtkHButtonBox" id="dialog-action_area7">
@ -1153,15 +1131,9 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkVBox" id="vbox8">
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child> <child>
<widget class="GtkHBox" id="hbox3"> <widget class="GtkHBox" id="hbox3">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">12</property> <property name="spacing">12</property>
@ -1215,13 +1187,6 @@
</packing> </packing>
</child> </child>
</widget> </widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child> </child>
</widget> </widget>
@ -1412,6 +1377,7 @@
</widget> </widget>
<widget class="GtkDialog" id="zenity_scale_dialog"> <widget class="GtkDialog" id="zenity_scale_dialog">
<property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes">Adjust the scale value</property> <property name="title" translatable="yes">Adjust the scale value</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
@ -1428,7 +1394,7 @@
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property> <property name="focus_on_map">True</property>
<property name="urgency_hint">False</property> <property name="urgency_hint">False</property>
<property name="has_separator">True</property> <property name="has_separator">False</property>
<signal name="destroy" handler="gtk_main_quit" last_modification_time="Tue, 13 Dec 2005 04:03:21 GMT"/> <signal name="destroy" handler="gtk_main_quit" last_modification_time="Tue, 13 Dec 2005 04:03:21 GMT"/>
<child internal-child="vbox"> <child internal-child="vbox">
@ -1478,10 +1444,10 @@
<child> <child>
<widget class="GtkVBox" id="vbox13"> <widget class="GtkVBox" id="vbox13">
<property name="border_width">3</property> <property name="border_width">5</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="homogeneous">False</property>
<property name="spacing">0</property> <property name="spacing">6</property>
<child> <child>
<widget class="GtkLabel" id="zenity_scale_text"> <widget class="GtkLabel" id="zenity_scale_text">