Convert to apply/close, and commit a UI string fix from
2002-02-10 Richard Hestilow <hestilow@ximian.com> * Convert to apply/close, and commit a UI string fix from fflewddur@dropline.net.
This commit is contained in:
parent
e3e83d8ff3
commit
b172e7ee36
3 changed files with 10 additions and 39 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-02-10 Richard Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
|
* Convert to apply/close, and commit a UI string
|
||||||
|
fix from fflewddur@dropline.net.
|
||||||
|
|
||||||
Sun Feb 10 23:39:30 2002 Jonathan Blandford <jrb@redhat.com>
|
Sun Feb 10 23:39:30 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gnome-default-applications-properties.glade: Patch from
|
* gnome-default-applications-properties.glade: Patch from
|
||||||
|
|
|
@ -430,8 +430,6 @@ dialog_response (GtkDialog *widget,
|
||||||
{
|
{
|
||||||
|
|
||||||
switch (response_id) {
|
switch (response_id) {
|
||||||
case 0: /* Help */
|
|
||||||
break;
|
|
||||||
case 1: /* Apply */
|
case 1: /* Apply */
|
||||||
write_editor (dialog);
|
write_editor (dialog);
|
||||||
write_browser (dialog);
|
write_browser (dialog);
|
||||||
|
@ -439,15 +437,7 @@ dialog_response (GtkDialog *widget,
|
||||||
write_terminal (dialog);
|
write_terminal (dialog);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 2: /* OK */
|
case 2: /* Close */
|
||||||
write_editor (dialog);
|
|
||||||
write_browser (dialog);
|
|
||||||
write_help_viewer (dialog);
|
|
||||||
write_terminal (dialog);
|
|
||||||
|
|
||||||
gtk_main_quit ();
|
|
||||||
break;
|
|
||||||
case 3: /* Close */
|
|
||||||
case -4: /* keyboard esc or WM close */
|
case -4: /* keyboard esc or WM close */
|
||||||
gtk_main_quit ();
|
gtk_main_quit ();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -24,19 +24,7 @@
|
||||||
<property name="visible">yes</property>
|
<property name="visible">yes</property>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkButton" id="button1">
|
<widget class="GtkButton" id="button4">
|
||||||
<property name="can_default">yes</property>
|
|
||||||
<property name="can_focus">yes</property>
|
|
||||||
<property name="visible">yes</property>
|
|
||||||
<property name="label" translatable="yes">gtk-help</property>
|
|
||||||
<property name="use_stock">yes</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
<property name="use_underline">yes</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button3">
|
|
||||||
<property name="can_default">yes</property>
|
<property name="can_default">yes</property>
|
||||||
<property name="can_focus">yes</property>
|
<property name="can_focus">yes</property>
|
||||||
<property name="visible">yes</property>
|
<property name="visible">yes</property>
|
||||||
|
@ -47,26 +35,14 @@
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button4">
|
|
||||||
<property name="can_default">yes</property>
|
|
||||||
<property name="can_focus">yes</property>
|
|
||||||
<property name="visible">yes</property>
|
|
||||||
<property name="label" translatable="yes">gtk-ok</property>
|
|
||||||
<property name="use_stock">yes</property>
|
|
||||||
<property name="response_id">2</property>
|
|
||||||
<property name="use_underline">yes</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkButton" id="button5">
|
<widget class="GtkButton" id="button5">
|
||||||
<property name="can_default">yes</property>
|
<property name="can_default">yes</property>
|
||||||
<property name="can_focus">yes</property>
|
<property name="can_focus">yes</property>
|
||||||
<property name="visible">yes</property>
|
<property name="visible">yes</property>
|
||||||
<property name="label" translatable="yes">gtk-cancel</property>
|
<property name="label" translatable="yes">gtk-close</property>
|
||||||
<property name="use_stock">yes</property>
|
<property name="use_stock">yes</property>
|
||||||
<property name="response_id">3</property>
|
<property name="response_id">2</property>
|
||||||
<property name="use_underline">yes</property>
|
<property name="use_underline">yes</property>
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
|
@ -584,7 +560,7 @@
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkFrame" id="frame4">
|
<widget class="GtkFrame" id="frame4">
|
||||||
<property name="border_width">4</property>
|
<property name="border_width">4</property>
|
||||||
<property name="label" translatable="yes">Default Help Editor</property>
|
<property name="label" translatable="yes">Default Help Browser</property>
|
||||||
<property name="label_xalign">0</property>
|
<property name="label_xalign">0</property>
|
||||||
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
|
<property name="shadow">GTK_SHADOW_ETCHED_IN</property>
|
||||||
<property name="visible">yes</property>
|
<property name="visible">yes</property>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue