Hello community,
here is the log from the commit of package yast2-control-center-gnome for
openSUSE:Factory checked in at 2014-06-26 07:58:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-control-center-gnome (Old)
and /work/SRC/openSUSE:Factory/.yast2-control-center-gnome.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-control-center-gnome"
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-control-center-gnome/yast2-control-center-gnome.changes
2014-06-06 14:36:15.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-control-center-gnome.new/yast2-control-center-gnome.changes
2014-06-26 07:58:04.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jun 19 11:33:03 UTC 2014 - [email protected]
+- ellipsize overlong icon texts and add tooltips (bnc#879959)
+- 3.1.5
+
+-------------------------------------------------------------------
Old:
----
yast2-control-center-gnome-3.1.4.tar.bz2
New:
----
yast2-control-center-gnome-3.1.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-control-center-gnome.spec ++++++
--- /var/tmp/diff_new_pack.TmFmF4/_old 2014-06-26 07:58:06.000000000 +0200
+++ /var/tmp/diff_new_pack.TmFmF4/_new 2014-06-26 07:58:06.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-control-center-gnome
-Version: 3.1.4
+Version: 3.1.5
Release: 0
Summary: YaST2 - Control Center (GNOME version)
++++++ yast2-control-center-gnome-3.1.4.tar.bz2 ->
yast2-control-center-gnome-3.1.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-control-center-gnome-3.1.4/package/yast2-control-center-gnome.changes
new/yast2-control-center-gnome-3.1.5/package/yast2-control-center-gnome.changes
---
old/yast2-control-center-gnome-3.1.4/package/yast2-control-center-gnome.changes
2014-06-03 10:21:30.000000000 +0200
+++
new/yast2-control-center-gnome-3.1.5/package/yast2-control-center-gnome.changes
2014-06-25 13:26:21.000000000 +0200
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu Jun 19 11:33:03 UTC 2014 - [email protected]
+- ellipsize overlong icon texts and add tooltips (bnc#879959)
+- 3.1.5
+
+-------------------------------------------------------------------
Tue Jun 2 07:11:29 UTC 2014 - [email protected]
- Fix keyboard navigation in the search results (bnc#863950)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-control-center-gnome-3.1.4/package/yast2-control-center-gnome.spec
new/yast2-control-center-gnome-3.1.5/package/yast2-control-center-gnome.spec
---
old/yast2-control-center-gnome-3.1.4/package/yast2-control-center-gnome.spec
2014-06-03 10:21:30.000000000 +0200
+++
new/yast2-control-center-gnome-3.1.5/package/yast2-control-center-gnome.spec
2014-06-25 13:26:21.000000000 +0200
@@ -16,7 +16,7 @@
#
Name: yast2-control-center-gnome
-Version: 3.1.4
+Version: 3.1.5
Release: 0
Summary: YaST2 - Control Center (GNOME version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-control-center-gnome-3.1.4/src/cut-n-paste/shell/cc-shell-item-view.c
new/yast2-control-center-gnome-3.1.5/src/cut-n-paste/shell/cc-shell-item-view.c
---
old/yast2-control-center-gnome-3.1.4/src/cut-n-paste/shell/cc-shell-item-view.c
2014-05-30 16:36:45.000000000 +0200
+++
new/yast2-control-center-gnome-3.1.5/src/cut-n-paste/shell/cc-shell-item-view.c
2014-06-25 13:26:21.000000000 +0200
@@ -148,6 +148,31 @@
g_free (id);
}
+gboolean
+iconview_query_tooltip_cb (GtkIconView *icon_view,
+ gint x,
+ gint y,
+ gboolean keyborad_tip,
+ GtkTooltip *tooltip,
+ CcShellItemView *cc_view)
+{
+ GtkTreeModel *model;
+ GtkTreeIter iter;
+ gchar *tooltip_text;
+
+ if (!gtk_icon_view_get_tooltip_context (GTK_ICON_VIEW (cc_view),
+ &x, &y,
+ keyborad_tip,
+ &model, NULL, &iter))
+ return FALSE;
+
+ gtk_tree_model_get (model, &iter,
+ COL_NAME, &tooltip_text,
+ -1);
+ gtk_tooltip_set_text (tooltip, tooltip_text);
+ return TRUE;
+}
+
void
cc_shell_item_view_update_cells (CcShellItemView *view)
{
@@ -161,6 +186,7 @@
if (GTK_IS_CELL_RENDERER_TEXT (cell)) {
g_object_set (G_OBJECT (cell),
"wrap-mode", PANGO_WRAP_WORD,
+ "ellipsize", PANGO_ELLIPSIZE_END,
NULL);
/* We only have one text cell */
break;
@@ -199,13 +225,18 @@
{
self->priv = SHELL_ITEM_VIEW_PRIVATE (self);
- g_object_set (self, "margin", 0, NULL);
+ g_object_set (self,
+ "margin", 0,
+ "has-tooltip", TRUE,
+ NULL);
g_signal_connect (self, "item-activated",
G_CALLBACK (iconview_item_activated_cb), self);
g_signal_connect (self, "button-press-event",
G_CALLBACK (iconview_button_press_event_cb), self);
g_signal_connect (self, "button-release-event",
G_CALLBACK (iconview_button_release_event_cb), self);
+ g_signal_connect (self, "query-tooltip",
+ G_CALLBACK (iconview_query_tooltip_cb), self);
}
GtkWidget *
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]