Hello community,
here is the log from the commit of package yast2-gtk for openSUSE:Factory
checked in at Mon Jul 19 21:30:06 CEST 2010.
--------
--- yast2-gtk/yast2-gtk.changes 2010-07-02 14:37:43.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-gtk/yast2-gtk.changes 2010-07-14 14:45:30.000000000 +0200
@@ -1,0 +2,62 @@
+Wed Jul 14 13:39:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.68
+- sw_single: fixed duplicate separator item in context menu.
+
+-------------------------------------------------------------------
+Wed Jul 14 11:41:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.67
+- build for bnc#620513 patch.
+
+-------------------------------------------------------------------
+Tue Jul 13 16:04:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.66
+- adjust window size to cope with big fonts.
+
+-------------------------------------------------------------------
+Mon Jul 12 15:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.65
+- more comsmetic fixes related to bnc#620513.
+
+-------------------------------------------------------------------
+Sat Jul 10 21:56:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.64
+- comsmetic fixes related to bnc#620513.
+
+-------------------------------------------------------------------
+Sat Jul 10 18:42:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.63
+- typo correction.
+
+-------------------------------------------------------------------
+Sat Jul 10 18:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.62
+- fix sw_single post-procedure scrolling glitch.
+
+-------------------------------------------------------------------
+Sat Jul 10 13:49:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.61
+- dependencies box sometimes freezes when open (bnc#620513).
+
+-------------------------------------------------------------------
+Wed Jul 06 20:10:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.60
+- versions box not visible enough: swap position with
+details box (bnc#620513).
+
+-------------------------------------------------------------------
+Tue Jul 05 18:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.59
+- ommit online-update configuration menu item when
+not running online-update (bnc#609778s)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-gtk-2.21.58.tar.bz2
New:
----
yast2-gtk-2.21.68.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-gtk.spec ++++++
--- /var/tmp/diff_new_pack.Bj0ADm/_old 2010-07-19 21:29:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Bj0ADm/_new 2010-07-19 21:29:38.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-gtk (Version 2.21.58)
+# spec file for package yast2-gtk (Version 2.21.68)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,11 +18,11 @@
Name: yast2-gtk
-Version: 2.21.58
+Version: 2.21.68
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-gtk-2.21.58.tar.bz2
+Source0: yast2-gtk-2.21.68.tar.bz2
Url: http://en.opensuse.org/YaST2-GTK
Summary: YaST2 - GTK+ Graphical User Interface
Group: System/YaST
++++++ yast2-gtk-2.21.58.tar.bz2 -> yast2-gtk-2.21.68.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/ChangeLog new/yast2-gtk-2.21.68/ChangeLog
--- old/yast2-gtk-2.21.58/ChangeLog 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/ChangeLog 2010-07-14 14:43:04.000000000 +0200
@@ -1,3 +1,35 @@
+2010-07-10 Ricardo Cruz
+
+ * src/pkg/ygtkpkgdetailview.cc & src/ygtkrichtext.c:
+ cosmetic fixes related to bug fix 620513.
+
+2010-07-10 Ricardo Cruz
+
+ * src/YGText.cc: glitch fix: don't glitch on
+ autoScroll (see sw_single install procedure).
+
+2010-07-10 Ricardo Cruz
+
+ * src/pkg/ygtkpkgdetailview.cc: bug fix 620513:
+ final fix.
+
+2010-07-10 Ricardo Cruz
+
+ * src/ygtkrichtext.c: bug fix 620513: possible fix
+ for this freeze, when sw_single dependencies box is
+ open.
+
+2010-07-06 Ricardo Cruz
+
+ * src/pkg/ygtkpkgdetailview.cc: bug fix 620513: versions
+ box not visible enough: swap position with details box.
+
+2010-07-05 Ricardo Cruz
+
+ * src/pkg/ygtkpkgmenubar.cc: bug fix 609778 (in part):
+ only present online-update configuration when on
+ online-update. Conversely for webpin-search.
+
2010-07-02 Ricardo Cruz
* src/YGDialog.cc: bug fix 618951: sw_single too
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/VERSION new/yast2-gtk-2.21.68/VERSION
--- old/yast2-gtk-2.21.58/VERSION 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/VERSION 2010-07-14 14:43:04.000000000 +0200
@@ -1 +1 @@
-2.21.58
+2.21.68
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/VERSION.cmake new/yast2-gtk-2.21.68/VERSION.cmake
--- old/yast2-gtk-2.21.58/VERSION.cmake 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/VERSION.cmake 2010-07-14 14:43:04.000000000 +0200
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "58")
+SET(VERSION_PATCH "68")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/package/yast2-gtk.changes new/yast2-gtk-2.21.68/package/yast2-gtk.changes
--- old/yast2-gtk-2.21.58/package/yast2-gtk.changes 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/package/yast2-gtk.changes 2010-07-14 14:43:03.000000000 +0200
@@ -1,4 +1,66 @@
-------------------------------------------------------------------
+Wed Jul 14 13:39:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.68
+- sw_single: fixed duplicate separator item in context menu.
+
+-------------------------------------------------------------------
+Wed Jul 14 11:41:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.67
+- build for bnc#620513 patch.
+
+-------------------------------------------------------------------
+Tue Jul 13 16:04:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.66
+- adjust window size to cope with big fonts.
+
+-------------------------------------------------------------------
+Mon Jul 12 15:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.65
+- more comsmetic fixes related to bnc#620513.
+
+-------------------------------------------------------------------
+Sat Jul 10 21:56:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.64
+- comsmetic fixes related to bnc#620513.
+
+-------------------------------------------------------------------
+Sat Jul 10 18:42:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.63
+- typo correction.
+
+-------------------------------------------------------------------
+Sat Jul 10 18:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.62
+- fix sw_single post-procedure scrolling glitch.
+
+-------------------------------------------------------------------
+Sat Jul 10 13:49:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.61
+- dependencies box sometimes freezes when open (bnc#620513).
+
+-------------------------------------------------------------------
+Wed Jul 06 20:10:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.60
+- versions box not visible enough: swap position with
+details box (bnc#620513).
+
+-------------------------------------------------------------------
+Tue Jul 05 18:32:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
+
+- 2.21.59
+- ommit online-update configuration menu item when
+not running online-update (bnc#609778s)
+
+-------------------------------------------------------------------
Fri Jul 02 13:25:00 WET 2010 - rpmcruz@alunos.dcc.fc.up.pt
- 2.21.58
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/src/YGPushButton.cc new/yast2-gtk-2.21.68/src/YGPushButton.cc
--- old/yast2-gtk-2.21.58/src/YGPushButton.cc 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/src/YGPushButton.cc 2010-07-14 14:43:03.000000000 +0200
@@ -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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/src/YGText.cc new/yast2-gtk-2.21.68/src/YGText.cc
--- old/yast2-gtk-2.21.58/src/YGText.cc 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/src/YGText.cc 2010-07-14 14:43:03.000000000 +0200
@@ -66,7 +66,21 @@
void scrollToBottom()
{
- YGUtils::scrollWidget (GTK_TEXT_VIEW (getWidget())->vadjustment, false);
+ //YGUtils::scrollWidget (GTK_TEXT_VIEW (getWidget())->vadjustment, false);
+
+ GtkTextBuffer *buffer = getBuffer();
+ GtkTextIter iter;
+ gtk_text_buffer_get_end_iter (buffer, &iter);
+ gtk_text_iter_set_line_offset (&iter, 0);
+
+ GtkTextMark *mark = gtk_text_buffer_get_mark (buffer, "scroll");
+ if (mark)
+ gtk_text_buffer_move_mark (buffer, mark, &iter);
+ else
+ mark = gtk_text_buffer_create_mark (buffer, "scroll", &iter, TRUE);
+
+ GtkTextView *view = GTK_TEXT_VIEW (getWidget());
+ gtk_text_view_scroll_mark_onscreen (view, mark);
}
// Event callbacks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/src/pkg/ygtkpkgdetailview.cc new/yast2-gtk-2.21.68/src/pkg/ygtkpkgdetailview.cc
--- old/yast2-gtk-2.21.58/src/pkg/ygtkpkgdetailview.cc 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/src/pkg/ygtkpkgdetailview.cc 2010-07-14 14:43:03.000000000 +0200
@@ -154,15 +154,15 @@
Ypp::Package pkg (sel);
std::string url (pkg.url());
if (!url.empty()) {
- str += "<p><b>"; str += _("Web site:");
- str += "</b> ";
+ str += "<p><i>"; str += _("Web site:");
+ str += "</i> ";
str += url; str += "</a></p>";
}
if (pkg.isCandidatePatch()) {
Ypp::Selectable _patch = pkg.getCandidatePatch();
Ypp::Patch patch (_patch);
- str += "<p><b>"; str += _("Patch issued:");
- str += "</b> "; str += _patch.summary();
+ str += "<p><i>"; str += _("Patch issued:");
+ str += "</i> "; str += _patch.summary();
str += " <b>("; str += Ypp::Patch::prioritySummary (patch.priority());
str += ")</b>"; str += "</p>";
@@ -339,7 +339,7 @@
ZyppPackage zpkg = castZyppPackage (zobj);
std::string str;
- std::string b ("<b>"), _b ("</b> "), br ("<br/>");
+ std::string b ("<i>"), _b ("</i> "), br ("<br/>");
str.reserve (2048);
str += b + _("Size:") + _b + zobj->installSize().asString();
str += br + b + _("License:") + _b + zpkg->license();
@@ -710,16 +710,18 @@
void addLine (const std::string &col1, const std::string &col2,
const std::string &col3, int dep)
{
- if (dep >= 0)
- gtk_box_pack_start (GTK_BOX (vbox), gtk_hseparator_new(), FALSE, TRUE, 0);
+// if (dep >= 0)
+// gtk_box_pack_start (GTK_BOX (vbox), gtk_hseparator_new(), FALSE, TRUE, 0);
- GtkWidget *hbox = gtk_hbox_new (TRUE, 6);
+ GtkWidget *hbox = gtk_hbox_new (FALSE, 6);
GtkWidget *col;
col = ygtk_rich_text_new();
+ gtk_widget_set_size_request (col, 100, -1);
ygtk_rich_text_set_text (YGTK_RICH_TEXT (col),
- ("<b>" + col1 + "</b>").c_str());
- gtk_box_pack_start (GTK_BOX (hbox), col, TRUE, TRUE, 0);
+ ("<i>" + col1 + "</i>").c_str());
+ gtk_box_pack_start (GTK_BOX (hbox), col, FALSE, TRUE, 0);
col = ygtk_rich_text_new();
+ gtk_widget_set_size_request (col, 80, -1);
ygtk_rich_text_set_text (YGTK_RICH_TEXT (col), col2.c_str());
if (dep == 0)
g_signal_connect (G_OBJECT (col), "link-clicked",
@@ -729,6 +731,7 @@
G_CALLBACK (provides_link_cb), NULL);
gtk_box_pack_start (GTK_BOX (hbox), col, TRUE, TRUE, 0);
col = ygtk_rich_text_new();
+ gtk_widget_set_size_request (col, 80, -1);
ygtk_rich_text_set_text (YGTK_RICH_TEXT (col), col3.c_str());
if (dep == 0)
g_signal_connect (G_OBJECT (col), "link-clicked",
@@ -757,10 +760,12 @@
clear();
std::string installed_str (_("<b>Installed Version</b>"));
std::string candidate_str (_("<b>Candidate Version</b>"));
+ installed_str = "<i>" + installed_str + "</i>";
+ candidate_str = "<i>" + candidate_str + "</i>";
if (sel.hasInstalledVersion())
- installed_str += "\n" + sel.installed().number();
+ installed_str += "<br>" + sel.installed().number();
if (sel.hasCandidateVersion())
- candidate_str += "\n" + sel.candidate().number();
+ candidate_str += "<br>" + sel.candidate().number();
addLine ("", installed_str, candidate_str, -1);
for (int dep = 0; dep < VersionDependencies::total(); dep++) {
std::string inst, cand;
@@ -1023,7 +1028,7 @@
YGUtils::replace (changes, "\n", 1, "<br>");
if (author.compare (0, 2, "- ", 2) == 0) // zypp returns a lot of author strings as
author.erase (0, 2); // "- author". wtf?
- text += date + " (" + author + "):<br><blockquote>" + changes + "</blockquote>";
+ text += "<i>" + date + " (" + author + "):</i><br><blockquote>" + changes + "</blockquote>";
}
}
return text;
@@ -1099,9 +1104,10 @@
}
if (!authors.empty()) {
- text = _("Developed by:") + ("<blockquote>" + authors) + "</blockquote>";
+ text = "<i>"; text += _("Developed by:"); text += "</i>";
+ text += ("<blockquote>" + authors) + "</blockquote>";
if (!packager.empty() || !vendor.empty()) {
- text += _("Packaged by:");
+ text += "<i>"; text += _("Packaged by:"); text += "</i>";
text += "<blockquote>";
if (!packager.empty()) text += packager + " ";
if (!vendor.empty()) text += "(" + vendor + ")";
@@ -1161,14 +1167,14 @@
GtkWidget *side_vbox = gtk_vbox_new (FALSE, 0);
- widget = new VersionExpander();
- m_widgets.push_back (widget);
- gtk_box_pack_start (GTK_BOX (side_vbox), widget->getWidget(), FALSE, TRUE, 0);
if (!YGPackageSelector::get()->onlineUpdateMode()) {
widget = new DetailsExpander();
m_widgets.push_back (widget);
gtk_box_pack_start (GTK_BOX (side_vbox), widget->getWidget(), FALSE, TRUE, 0);
}
+ widget = new VersionExpander();
+ m_widgets.push_back (widget);
+ gtk_box_pack_start (GTK_BOX (side_vbox), widget->getWidget(), FALSE, TRUE, 0);
GtkWidget *main_vbox = gtk_vbox_new (FALSE, 0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/src/pkg/ygtkpkglistview.cc new/yast2-gtk-2.21.68/src/pkg/ygtkpkglistview.cc
--- old/yast2-gtk-2.21.58/src/pkg/ygtkpkglistview.cc 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/src/pkg/ygtkpkglistview.cc 2010-07-14 14:43:03.000000000 +0200
@@ -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);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-gtk-2.21.58/src/pkg/ygtkpkgmenubar.cc new/yast2-gtk-2.21.68/src/pkg/ygtkpkgmenubar.cc
--- old/yast2-gtk-2.21.58/src/pkg/ygtkpkgmenubar.cc 2010-07-01 16:52:59.000000000 +0200
+++ new/yast2-gtk-2.21.68/src/pkg/ygtkpkgmenubar.cc 2010-07-14 14:43:03.000000000 +0200
@@ -703,10 +703,12 @@
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new()));
append_menu_item (submenu, _("Repositories..."), NULL,
G_CALLBACK (repoManager), this);
- append_menu_item (submenu, _("Online Update..."), NULL,
- G_CALLBACK (onlineUpdateConfiguration), this);
- append_menu_item (submenu, _("Search Packages on Web..."), NULL,
- G_CALLBACK (webpinSearch), this);
+ if (selector->onlineUpdateMode())
+ append_menu_item (submenu, _("Online Update..."), NULL,
+ G_CALLBACK (onlineUpdateConfiguration), this);
+ else
+ append_menu_item (submenu, _("Search Packages on Web..."), NULL,
+ G_CALLBACK (webpinSearch), this);
}
item = append_menu_item (menu_bar, _("Dependencies"), NULL, NULL, NULL);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), (submenu = gtk_menu_new()));
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org