[yast-commit] r62251 - in /branches/SuSE-Linux-11_3-Branch/gtk/src: YGPushButton.cc pkg/ygtkpkglistview.cc
Author: rpmcruz Date: Wed Jul 14 14:38:26 2010 New Revision: 62251 URL: http://svn.opensuse.org/viewcvs/yast?rev=62251&view=rev Log: Duplicate separator item. (as reported by atri) Modified: branches/SuSE-Linux-11_3-Branch/gtk/src/YGPushButton.cc branches/SuSE-Linux-11_3-Branch/gtk/src/pkg/ygtkpkglistview.cc Modified: branches/SuSE-Linux-11_3-Branch/gtk/src/YGPushButton.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/gtk/src/YGPushButton.cc?rev=62251&r1=62250&r2=62251&view=diff ============================================================================== --- branches/SuSE-Linux-11_3-Branch/gtk/src/YGPushButton.cc (original) +++ branches/SuSE-Linux-11_3-Branch/gtk/src/YGPushButton.cc Wed Jul 14 14:38:26 2010 @@ -112,6 +112,8 @@ if (pixbuf) { GtkWidget *image = gtk_image_new_from_pixbuf (pixbuf); gtk_button_set_image (button, image); + // disregard gtk-button-images setting for explicitly set icons + gtk_widget_show (image); g_object_unref (G_OBJECT (pixbuf)); } else Modified: branches/SuSE-Linux-11_3-Branch/gtk/src/pkg/ygtkpkglistview.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_3-Branch/gtk/src/pkg/ygtkpkglistview.cc?rev=62251&r1=62250&r2=62251&view=diff ============================================================================== --- branches/SuSE-Linux-11_3-Branch/gtk/src/pkg/ygtkpkglistview.cc (original) +++ branches/SuSE-Linux-11_3-Branch/gtk/src/pkg/ygtkpkglistview.cc Wed Jul 14 14:38:26 2010 @@ -472,7 +472,6 @@ gtk_menu_shell_append (GTK_MENU_SHELL (menu), gtk_separator_menu_item_new()); inner::appendItem (menu, NULL, NULL, GTK_STOCK_SELECT_ALL, true, inner::select_all_cb, pThis); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), gtk_separator_menu_item_new()); ygtk_tree_view_append_show_columns_item (YGTK_TREE_VIEW (pThis->impl->view), menu); } ygtk_tree_view_popup_menu (YGTK_TREE_VIEW (pThis->impl->view), menu); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rpmcruz@svn.opensuse.org