Mailinglist Archive: yast-commit (210 mails)

< Previous Next >
[yast-commit] r63374 - in /trunk/gtk: VERSION VERSION.cmake package/yast2-gtk.changes src/YGTreeView.cc
Author: rpmcruz
Date: Tue Feb 8 19:29:39 2011
New Revision: 63374

URL: http://svn.opensuse.org/viewcvs/yast?rev=63374&view=rev
Log:
Milestone version.

Modified:
trunk/gtk/VERSION
trunk/gtk/VERSION.cmake
trunk/gtk/package/yast2-gtk.changes
trunk/gtk/src/YGTreeView.cc

Modified: trunk/gtk/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/VERSION?rev=63374&r1=63373&r2=63374&view=diff
==============================================================================
--- trunk/gtk/VERSION (original)
+++ trunk/gtk/VERSION Tue Feb 8 19:29:39 2011
@@ -1 +1 @@
-2.21.90
+2.21.91

Modified: trunk/gtk/VERSION.cmake
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/VERSION.cmake?rev=63374&r1=63373&r2=63374&view=diff
==============================================================================
--- trunk/gtk/VERSION.cmake (original)
+++ trunk/gtk/VERSION.cmake Tue Feb 8 19:29:39 2011
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "90")
+SET(VERSION_PATCH "91")

Modified: trunk/gtk/package/yast2-gtk.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/package/yast2-gtk.changes?rev=63374&r1=63373&r2=63374&view=diff
==============================================================================
--- trunk/gtk/package/yast2-gtk.changes (original)
+++ trunk/gtk/package/yast2-gtk.changes Tue Feb 8 19:29:39 2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Feb 08 18:28:00 WET 2011 - rpmcruz@xxxxxxxxxxxxxxxxxxx
+
+- 2.21.91
+- fixed compatibility with upcoming yast2-libyui 2.20.1.
+
+-------------------------------------------------------------------
Tue Feb 01 22:43:00 WET 2011 - rpmcruz@xxxxxxxxxxxxxxxxxxx

- 2.21.90

Modified: trunk/gtk/src/YGTreeView.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGTreeView.cc?rev=63374&r1=63373&r2=63374&view=diff
==============================================================================
--- trunk/gtk/src/YGTreeView.cc (original)
+++ trunk/gtk/src/YGTreeView.cc Tue Feb 8 19:29:39 2011
@@ -199,6 +199,14 @@
gtk_tree_model_foreach (getModel(), inner::foreach_unmark,
this);
}

+ YItem *getFocusItem()
+ {
+ GtkTreeIter iter;
+ if (gtk_tree_selection_get_selected (getSelection(), NULL,
&iter))
+ return getYItem (&iter);
+ return NULL;
+ }
+
virtual bool _immediateMode() { return true; }
virtual bool _shrinkable() { return false; }

@@ -619,12 +627,7 @@
// YMultiSelectionBox

virtual YItem *currentItem()
- {
- GtkTreeIter iter;
- if (gtk_tree_selection_get_selected (getSelection(), NULL,
&iter))
- return getYItem (&iter);
- return NULL;
- }
+ { return getFocusItem(); }

virtual void setCurrentItem (YItem *item)
{ focusItem (item, true); }
@@ -748,6 +751,9 @@
syncCount();
}

+ virtual YTreeItem *currentItem()
+ { return (YTreeItem *) getFocusItem(); }
+
// YGSelectionStore

void doAddItem (YItem *item) {} // rebuild will be called anyway

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

< Previous Next >
This Thread
  • No further messages