Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41514 - in /trunk/gtk: ChangeLog src/YGPackageSelector.cc
  • From: btimothy@xxxxxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 18:04:39 -0000
  • Message-id: <20071022180439.8D44328159@xxxxxxxxxxxxxxxx>
Author: btimothy
Date: Mon Oct 22 20:04:39 2007
New Revision: 41514

URL: http://svn.opensuse.org/viewcvs/yast?rev=41514&view=rev
Log:
2007-10-22  Boyd Timothy  <btimothy@xxxxxxxxxx>

        * src/YGPackageSelector.cc: Removed the space before the
          question mark in the "Abandon all changes?" dialog.
          Also changes from Ok/Cancel to Yes/No buttons to follow
          HIG more closely.


Modified:
    trunk/gtk/ChangeLog
    trunk/gtk/src/YGPackageSelector.cc

Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=41514&r1=41513&r2=41514&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Mon Oct 22 20:04:39 2007
@@ -1,3 +1,9 @@
+2007-10-22  Boyd Timothy  <btimothy@xxxxxxxxxx>
+
+       * src/YGPackageSelector.cc: Removed the space before the question mark
+       in the "Abandon all changes?" dialog.  Also changed from Ok/Cancel to
+       Yes/No buttons to follow HIG more closely.
+
 2007-10-17  Boyd Timothy  <btimothy@xxxxxxxxxx>
 
        * src/YGPackageSelector.cc: Fixed the code so it only shows

Modified: trunk/gtk/src/YGPackageSelector.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGPackageSelector.cc?rev=41514&r1=41513&r2=41514&view=diff
==============================================================================
--- trunk/gtk/src/YGPackageSelector.cc (original)
+++ trunk/gtk/src/YGPackageSelector.cc Mon Oct 22 20:04:39 2007
@@ -2353,12 +2353,12 @@
                dialog = gtk_message_dialog_new_with_markup
             (YGUI::ui()->currentWindow(),
                         GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING,
-             GTK_BUTTONS_OK_CANCEL,
-             _("<b>Abandon all changes ?</b>"));
+             GTK_BUTTONS_YES_NO,
+             _("<b>Abandon all changes?</b>"));
         gtk_dialog_set_default_response (GTK_DIALOG (dialog),
-                                         GTK_RESPONSE_CANCEL);
+                                         GTK_RESPONSE_NO);
         bool ok = gtk_dialog_run (GTK_DIALOG (dialog)) ==
-                                   GTK_RESPONSE_OK;
+                                   GTK_RESPONSE_YES;
                gtk_widget_destroy (dialog);
         return ok;
     }

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages