Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] r58567 - in /trunk/gtk: ChangeLog src/ygtknotebook.c src/ygtkzyppview.cc
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Mon, 07 Sep 2009 15:00:09 -0000
  • Message-id: <E1MkfhR-00019Y-UT@xxxxxxxxxxxxxxxx>
Author: rpmcruz
Date: Mon Sep 7 17:00:09 2009
New Revision: 58567

URL: http://svn.opensuse.org/viewcvs/yast?rev=58567&view=rev
Log:
* src/ygtkzyppview.cc: select installed version radio
button for the remove tab.

Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/ygtknotebook.c
trunk/gtk/src/ygtkzyppview.cc

Modified: trunk/gtk/ChangeLog
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=58567&r1=58566&r2=58567&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Mon Sep 7 17:00:09 2009
@@ -1,3 +1,8 @@
+2009-09-07 Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>
+
+ * src/ygtkzyppview.cc: select installed version radio
+ button for the remove tab.
+
2009-09-06 Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>

* src/yzyppwrapper.h/cc: added severity() description

Modified: trunk/gtk/src/ygtknotebook.c
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtknotebook.c?rev=58567&r1=58566&r2=58567&view=diff
==============================================================================
--- trunk/gtk/src/ygtknotebook.c (original)
+++ trunk/gtk/src/ygtknotebook.c Mon Sep 7 17:00:09 2009
@@ -49,7 +49,7 @@
child_alloc.width = MIN (allocation->width - tabs_width,
child_req.width);
child_alloc.height = child_req.height;
child_alloc.x = allocation->x + (allocation->width -
child_alloc.width);
- child_alloc.y = allocation->y + 2;
+ child_alloc.y = allocation->y + 3;

gtk_widget_size_allocate (ynotebook->corner_widget,
&child_alloc);
}

Modified: trunk/gtk/src/ygtkzyppview.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/ygtkzyppview.cc?rev=58567&r1=58566&r2=58567&view=diff
==============================================================================
--- trunk/gtk/src/ygtkzyppview.cc (original)
+++ trunk/gtk/src/ygtkzyppview.cc Mon Sep 7 17:00:09 2009
@@ -1198,7 +1198,7 @@

gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);
activeSet = true;
}
- else if (i == 0)
+ else if (i == 0 &&
(!package->isInstalled() || version->cmp > 0))

gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);
else if (version->repo ==
favoriteRepo) {

gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);

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

< Previous Next >
This Thread
  • No further messages