Hello community,
here is the log from the commit of package yast2-gtk for openSUSE:Factory
checked in at Tue Nov 2 13:46:05 CET 2010.
--------
--- yast2-gtk/yast2-gtk.changes 2010-10-20 22:08:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-gtk/yast2-gtk.changes 2010-11-01 17:51:11.000000000 +0100
@@ -1,0 +2,14 @@
+Mon Nov 01 16:49:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.80
+- fix: show the software manager header bar.
+
+-------------------------------------------------------------------
+Sun Oct 31 18:43:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.79
+- work-around bug in global-menubar-applet, which isn't
+showing the software manager menu bar (bnc#595560)
+- improved performance of the upgrades filter.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-gtk-2.21.78.tar.bz2
New:
----
yast2-gtk-2.21.80.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-gtk.spec ++++++
--- /var/tmp/diff_new_pack.VTsJOl/_old 2010-11-02 13:45:38.000000000 +0100
+++ /var/tmp/diff_new_pack.VTsJOl/_new 2010-11-02 13:45:38.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-gtk (Version 2.21.78)
+# spec file for package yast2-gtk (Version 2.21.80)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,11 +18,11 @@
Name: yast2-gtk
-Version: 2.21.78
+Version: 2.21.80
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-gtk-2.21.78.tar.bz2
+Source0: yast2-gtk-2.21.80.tar.bz2
Url: http://en.opensuse.org/YaST2-GTK
Summary: YaST2 - GTK+ Graphical User Interface
Group: System/YaST
++++++ yast2-gtk-2.21.78.tar.bz2 -> yast2-gtk-2.21.80.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/ChangeLog new/yast2-gtk-2.21.80/ChangeLog
--- old/yast2-gtk-2.21.78/ChangeLog 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/ChangeLog 2010-11-01 17:53:13.000000000 +0100
@@ -1,3 +1,16 @@
+2010-11-01 Ricardo Cruz
+
+ * src/pkg/YGPackageSelector.cc: show header bar.
+
+ * src/pkg/ygtkpkgsearchentry.cc: shrink combo size.
+
+2010-10-31 Ricardo Cruz
+
+ * src/pkg/YGPackageSelector.cc & src/pkg/ygtkpkgmenubar.cc:
+ work-around bug in global-menubar-applet.
+
+ * src/pkg/ygtkpkgfilterview.cc: speed-up Upgrades filter.
+
2010-10-20 Ricardo Cruz
* src/YGTable.cc: bug fix 640091: crash when modifying
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/package/yast2-gtk.changes new/yast2-gtk-2.21.80/package/yast2-gtk.changes
--- old/yast2-gtk-2.21.78/package/yast2-gtk.changes 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/package/yast2-gtk.changes 2010-11-01 17:53:13.000000000 +0100
@@ -1,4 +1,18 @@
-------------------------------------------------------------------
+Mon Nov 01 16:49:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.80
+- fix: show the software manager header bar.
+
+-------------------------------------------------------------------
+Sun Oct 31 18:43:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.79
+- work-around bug in global-menubar-applet, which isn't
+showing the software manager menu bar (bnc#595560)
+- improved performance of the upgrades filter.
+
+-------------------------------------------------------------------
Wed Oct 20 21:06:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
- 2.21.78
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/package/yast2-gtk.spec new/yast2-gtk-2.21.80/package/yast2-gtk.spec
--- old/yast2-gtk-2.21.78/package/yast2-gtk.spec 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/package/yast2-gtk.spec 2010-11-01 17:53:13.000000000 +0100
@@ -1,16 +1,16 @@
#
-# spec file for package yast2-gtk (Version 2.21.77)
+# spec file for package yast2-gtk (Version 2.21.79)
#
# norootforbuild;,
Name: yast2-gtk
-Version: 2.21.77
+Version: 2.21.79
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-gtk-2.21.77.tar.bz2
+Source0: yast2-gtk-2.21.79.tar.bz2
Url: http://en.opensuse.org/YaST2-GTK
Summary: YaST2 - GTK+ Graphical User Interface
Group: System/YaST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/pkg/YGPackageSelector.cc new/yast2-gtk-2.21.80/src/pkg/YGPackageSelector.cc
--- old/yast2-gtk-2.21.78/src/pkg/YGPackageSelector.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/pkg/YGPackageSelector.cc 2010-11-01 17:53:13.000000000 +0100
@@ -689,7 +689,9 @@
impl = new Impl(); // can take a little
ygtk_wizard_set_child (wizard, impl->getWidget());
impl->m_menu = new YGtkPkgMenuBar();
- ygtk_wizard_set_custom_menu (wizard, impl->m_menu->getWidget(), FALSE);
+ ygtk_wizard_set_custom_menubar (wizard, impl->m_menu->getWidget(), FALSE);
+ //** TEMP: work-around global-menubar-applet: see bug 595560
+ gtk_widget_show_all (impl->m_menu->getWidget());
std::string str;
str.reserve (6820);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/pkg/ygtkpkgmenubar.cc new/yast2-gtk-2.21.80/src/pkg/ygtkpkgmenubar.cc
--- old/yast2-gtk-2.21.78/src/pkg/ygtkpkgmenubar.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/pkg/ygtkpkgmenubar.cc 2010-11-01 17:53:13.000000000 +0100
@@ -749,6 +749,8 @@
append_menu_item (submenu, _("Reset _Ignored Dependencies Conflicts"), NULL,
G_CALLBACK (reset_ignored_dependency_conflicts_cb), this);
- gtk_widget_show_all (m_menu);
+ //** TEMP: work-around global-menubar-applet: see bug 595560
+ //** will call show_all() at YGPackageSelector.cc
+ //gtk_widget_show_all (m_menu);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/pkg/ygtkpkgsearchentry.cc new/yast2-gtk-2.21.80/src/pkg/ygtkpkgsearchentry.cc
--- old/yast2-gtk-2.21.78/src/pkg/ygtkpkgsearchentry.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/pkg/ygtkpkgsearchentry.cc 2010-11-01 17:53:13.000000000 +0100
@@ -106,6 +106,7 @@
gtk_combo_box_append_text (GTK_COMBO_BOX (impl->combo), "RPM Requires");
}
gtk_combo_box_set_active (GTK_COMBO_BOX (impl->combo), 0);
+ YGUtils::shrinkWidget (impl->combo);
g_signal_connect (G_OBJECT (impl->combo), "changed",
G_CALLBACK (combo_changed_cb), this);
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (impl->combo),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/pkg/ygtkpkgstatusbar.cc new/yast2-gtk-2.21.80/src/pkg/ygtkpkgstatusbar.cc
--- old/yast2-gtk-2.21.78/src/pkg/ygtkpkgstatusbar.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/pkg/ygtkpkgstatusbar.cc 2010-11-01 17:53:13.000000000 +0100
@@ -19,30 +19,9 @@
#include "yzyppwrapper.h"
#include
-static void small_size_request_cb (GtkWidget *widget, GtkRequisition *req)
+static void enlarge_width_size_request_cb (GtkWidget *widget, GtkRequisition *req)
{ req->width += 4; }
-static void set_small_widget (GtkWidget *widget)
-{
- static bool first_time = true;
- if (first_time) {
- first_time = false;
- gtk_rc_parse_string (
- "style \"small-widget-style\"\n"
- "{\n"
- " GtkWidget::focus-padding = 0\n"
- " GtkWidget::focus-line-width = 0\n"
- " xthickness = 0\n"
- " ythickness = 0\n"
- "}\n"
- "widget \"*.small-widget\" style \"small-widget-style\"");
- }
-
- gtk_widget_set_name (widget, "small-widget");
- g_signal_connect (G_OBJECT (widget), "size-request",
- G_CALLBACK (small_size_request_cb), NULL);
-}
-
struct LastChange {
GtkWidget *hbox, *icon, *text, *undo_button;
@@ -56,7 +35,9 @@
text = gtk_label_new ("");
gtk_misc_set_alignment (GTK_MISC (text), 0, .5);
undo_button = gtk_button_new_from_stock (GTK_STOCK_UNDO);
- set_small_widget (undo_button);
+ YGUtils::shrinkWidget (undo_button);
+ g_signal_connect (G_OBJECT (undo_button), "size-request",
+ G_CALLBACK (enlarge_width_size_request_cb), NULL);
g_signal_connect (G_OBJECT (undo_button), "clicked",
G_CALLBACK (undo_clicked_cb), this);
gchar *str = g_strdup_printf ("(%s</a>)", _("view all changes"));
@@ -234,7 +215,7 @@
combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store));
g_object_unref (G_OBJECT (store));
- set_small_widget (combo);
+ YGUtils::shrinkWidget (combo);
gtk_widget_set_name (combo, "small-widget");
gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (combo), FALSE);
GtkCellRenderer *renderer = gtk_cell_renderer_text_new();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/YGDialog.cc new/yast2-gtk-2.21.80/src/YGDialog.cc
--- old/yast2-gtk-2.21.78/src/YGDialog.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/YGDialog.cc 2010-11-01 17:53:13.000000000 +0100
@@ -119,7 +119,7 @@
gtk_window_maximize (window);
}
- gtk_window_set_role (window, "yast2-gtk");
+ gtk_window_set_role (window, "yast2");
}
if (_main_window)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/ygtkwizard.c new/yast2-gtk-2.21.80/src/ygtkwizard.c
--- old/yast2-gtk-2.21.78/src/ygtkwizard.c 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/ygtkwizard.c 2010-11-01 17:53:13.000000000 +0100
@@ -956,7 +956,7 @@
{
if (!wizard->menu) {
wizard->menu = gtk_menu_bar_new();
- ygtk_wizard_set_custom_menu (wizard, wizard->menu, TRUE);
+ ygtk_wizard_set_custom_menubar (wizard, wizard->menu, TRUE);
gtk_widget_show (wizard->menu);
}
@@ -1037,7 +1037,7 @@
}
}
-void ygtk_wizard_set_custom_menu (YGtkWizard *wizard, GtkWidget *menu_bar, gboolean hide_header)
+void ygtk_wizard_set_custom_menubar (YGtkWizard *wizard, GtkWidget *menu_bar, gboolean hide_header)
{
gtk_container_add (GTK_CONTAINER (wizard->m_menu_box), menu_bar);
gtk_widget_show (wizard->m_menu_box);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/ygtkwizard.h new/yast2-gtk-2.21.80/src/ygtkwizard.h
--- old/yast2-gtk-2.21.78/src/ygtkwizard.h 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/ygtkwizard.h 2010-11-01 17:53:13.000000000 +0100
@@ -161,7 +161,7 @@
const char *text, const char *id);
gboolean ygtk_wizard_add_menu_separator (YGtkWizard *wizard, const char *parent_id);
void ygtk_wizard_clear_menu (YGtkWizard *wizard);
-void ygtk_wizard_set_custom_menu (YGtkWizard *wizard, GtkWidget *menu_bar, gboolean hide_header);
+void ygtk_wizard_set_custom_menubar (YGtkWizard *wizard, GtkWidget *menu_bar, gboolean hide_header);
void ygtk_wizard_set_status_bar (YGtkWizard *wizard, GtkWidget *status_bar);
void ygtk_wizard_add_step_header (YGtkWizard *wizard, const char *text);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/YGUtils.cc new/yast2-gtk-2.21.80/src/YGUtils.cc
--- old/yast2-gtk-2.21.78/src/YGUtils.cc 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/YGUtils.cc 2010-11-01 17:53:13.000000000 +0100
@@ -721,6 +721,24 @@
return icon;
}
+void YGUtils::shrinkWidget (GtkWidget *widget)
+{
+ static bool first_time = true;
+ if (first_time) {
+ first_time = false;
+ gtk_rc_parse_string (
+ "style \"small-widget-style\"\n"
+ "{\n"
+ " GtkWidget::focus-padding = 0\n"
+ " GtkWidget::focus-line-width = 0\n"
+ " xthickness = 0\n"
+ " ythickness = 0\n"
+ "}\n"
+ "widget \"*.small-widget\" style \"small-widget-style\"");
+ }
+ gtk_widget_set_name (widget, "small-widget");
+}
+
/*
* construct a help string by dropping the title, and mentioning
* the first sentence for a dialog sub-title
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/src/YGUtils.h new/yast2-gtk-2.21.80/src/YGUtils.h
--- old/yast2-gtk-2.21.78/src/YGUtils.h 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/src/YGUtils.h 2010-11-01 17:53:13.000000000 +0100
@@ -65,6 +65,9 @@
/* For empty model rows, render a separator (can be used for GtkTreeView and GtkComboBox */
gboolean empty_row_is_separator_cb (
GtkTreeModel *model, GtkTreeIter *iter, gpointer text_col);
+
+ /* Shrink widget inner-border (thickness) */
+ void shrinkWidget (GtkWidget *widget);
};
extern "C" {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/VERSION new/yast2-gtk-2.21.80/VERSION
--- old/yast2-gtk-2.21.78/VERSION 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/VERSION 2010-11-01 17:53:13.000000000 +0100
@@ -1 +1 @@
-2.21.78
+2.21.80
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.78/VERSION.cmake new/yast2-gtk-2.21.80/VERSION.cmake
--- old/yast2-gtk-2.21.78/VERSION.cmake 2010-10-20 22:10:41.000000000 +0200
+++ new/yast2-gtk-2.21.80/VERSION.cmake 2010-11-01 17:53:13.000000000 +0100
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "78")
+SET(VERSION_PATCH "80")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org