Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7075 - in /trunk/updater-gnome/src: updater-support.c updater.c
  • From: joshkress@xxxxxxxxxxxxxxxx
  • Date: Mon, 03 Sep 2007 09:47:00 -0000
  • Message-id: <20070903094700.EFF3324FA2@xxxxxxxxxxxxxxxx>
Author: joshkress
Date: Mon Sep  3 11:47:00 2007
New Revision: 7075

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7075&view=rev
Log:
- fixed bug #306700 actually not so minor

Modified:
    trunk/updater-gnome/src/updater-support.c
    trunk/updater-gnome/src/updater.c

Modified: trunk/updater-gnome/src/updater-support.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-gnome/src/updater-support.c?rev=7075&r1=7074&r2=7075&view=diff
==============================================================================
--- trunk/updater-gnome/src/updater-support.c (original)
+++ trunk/updater-gnome/src/updater-support.c Mon Sep  3 11:47:00 2007
@@ -334,7 +334,7 @@
          g_free(str);
                  
          /* We have only additional updates */
-         if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (updater->simple_window_checkbuttonRecommended)) && (mandatory_count == 0))
+         if ((mandatory_count == 0) && !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (updater->simple_window_checkbuttonRecommended)))
          {
            /* Only additional available and they are deselected */
         gtk_widget_set_sensitive (updater->simple_window_buttonInstall, FALSE);

Modified: trunk/updater-gnome/src/updater.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-gnome/src/updater.c?rev=7075&r1=7074&r2=7075&view=diff
==============================================================================
--- trunk/updater-gnome/src/updater.c (original)
+++ trunk/updater-gnome/src/updater.c Mon Sep  3 11:47:00 2007
@@ -211,9 +211,9 @@
   updater->simple_window_checkbuttonRestart = glade_xml_get_widget(updater->simple_window_xml,
                                                             "checkbuttonRestart");
   updater->simple_window_buttonDetails = glade_xml_get_widget(updater->simple_window_xml,
-                                                            "SimpleInstallButton");
-  updater->simple_window_buttonInstall = glade_xml_get_widget(updater->simple_window_xml,
                                                             "DetailsButton");
+  updater->simple_window_buttonInstall = glade_xml_get_widget(updater->simple_window_xml,
+                                                            "SimpleInstallButton");
                                                        
   /* autoconnect the signals in the interface */
   glade_xml_signal_autoconnect(updater->simple_window_xml);

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

< Previous Next >
This Thread
  • No further messages