Mailinglist Archive: yast-commit (590 mails)

< Previous Next >
[yast-commit] r61661 - in /trunk/gtk: ChangeLog src/pkg/ygtkpkghistorydialog.cc src/pkg/ygtkpkgstatusbar.cc
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Sun, 11 Apr 2010 13:40:39 -0000
  • Message-id: <E1O0xOx-0007VL-JC@xxxxxxxxxxxxxxxx>
Author: rpmcruz
Date: Sun Apr 11 15:40:39 2010
New Revision: 61661

URL: http://svn.opensuse.org/viewcvs/yast?rev=61661&view=rev
Log:
* src/pkg/ygtkpkghistorydialog.cc: apply gray effect
to "(patch)" and "(auto)", not italic.

* src/pkg/ygtkstatusbar.cc: set higher gray color
to "no changes to perform" text.

Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/pkg/ygtkpkghistorydialog.cc
trunk/gtk/src/pkg/ygtkpkgstatusbar.cc

Modified: trunk/gtk/ChangeLog
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=61661&r1=61660&r2=61661&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Sun Apr 11 15:40:39 2010
@@ -3,6 +3,12 @@
* src/pkg/ygtkpkghistorydialog.cc: set go-to entry
insensitive if nothing is selected.

+ * src/pkg/ygtkpkghistorydialog.cc: apply gray effect
+ to "(patch)" and "(auto)", not italic.
+
+ * src/pkg/ygtkstatusbar.cc: set higher gray color
+ to "no changes to perform" text.
+
2010-04-11 Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>

* src/pkg/ygtkpkghistorydialog.cc: added go-to entry

Modified: trunk/gtk/src/pkg/ygtkpkghistorydialog.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkghistorydialog.cc?rev=61661&r1=61660&r2=61661&view=diff
==============================================================================
--- trunk/gtk/src/pkg/ygtkpkghistorydialog.cc (original)
+++ trunk/gtk/src/pkg/ygtkpkghistorydialog.cc Sun Apr 11 15:40:39 2010
@@ -119,7 +119,7 @@
}

std::string _name;
- _name.reserve (action.size() + name.size() + 10);
+ _name.reserve (action.size() + name.size() + 64);
_name = std::string ("<b>") + action + "</b> " + name;
int xpad = 0; // autoReq ? 25 : 0;

@@ -128,11 +128,16 @@
repo_icon = getRepositoryStockIcon (repositoryUrl);
if (repositoryUrl.find ("update") != std::string::npos)
{
//color = "red";
- _name += _(" <i>(patch)</i>");
+ _name += " <span color=\"#999999\">(";
+ _name += _("patch");
+ _name += ")</span>";
}
}
- if (autoReq)
- _name += _(" <i>(auto)</i>");
+ if (autoReq) {
+ _name += " <span color=\"#999999\">(";
+ _name += _("auto");
+ _name += ")</span>";
+ }

gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter, ICON_COLUMN, icon,
NAME_COLUMN, _name.c_str(),
@@ -543,7 +548,7 @@
g_object_set (G_OBJECT (renderer), "ellipsize", PANGO_ELLIPSIZE_END,
NULL);
gtk_tree_view_column_set_resizable (column, TRUE);
gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_FIXED);
- gtk_tree_view_column_set_fixed_width (column, 100);
+ gtk_tree_view_column_set_fixed_width (column, 120);
ygtk_tree_view_append_column (YGTK_TREE_VIEW (log_view), column);

renderer = ygtk_cell_renderer_text_pixbuf_new();

Modified: trunk/gtk/src/pkg/ygtkpkgstatusbar.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkgstatusbar.cc?rev=61661&r1=61660&r2=61661&view=diff
==============================================================================
--- trunk/gtk/src/pkg/ygtkpkgstatusbar.cc (original)
+++ trunk/gtk/src/pkg/ygtkpkgstatusbar.cc Sun Apr 11 15:40:39 2010
@@ -108,7 +108,7 @@
gtk_label_set_text (GTK_LABEL (text), _("No changes to
perform"));

PangoAttrList *attrs = pango_attr_list_new();
- pango_attr_list_insert (attrs,
pango_attr_foreground_new (120<<8, 120<<8, 120<<8));
+ pango_attr_list_insert (attrs,
pango_attr_foreground_new (110<<8, 110<<8, 110<<8));
pango_attr_list_insert (attrs, pango_attr_style_new
(PANGO_STYLE_ITALIC));
gtk_label_set_attributes (GTK_LABEL (text), attrs);
pango_attr_list_unref (attrs);

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

< Previous Next >
This Thread
  • No further messages