Author: rpmcruz
Date: Sat Jul 10 14:45:17 2010
New Revision: 62203
URL: http://svn.opensuse.org/viewcvs/yast?rev=62203&view=rev
Log:
* src/pkg/ygtkpkgdetailview.cc: bug fix 620513:
final fix.
Modified:
trunk/gtk/ChangeLog
trunk/gtk/README
trunk/gtk/src/pkg/ygtkpkgdetailview.cc
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=62203&r1=62202&r2=62203&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Sat Jul 10 14:45:17 2010
@@ -1,5 +1,10 @@
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.
Modified: trunk/gtk/README
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/README?rev=62203&r1=62202&r2=62203&view=diff
==============================================================================
--- trunk/gtk/README (original)
+++ trunk/gtk/README Sat Jul 10 14:45:17 2010
@@ -17,8 +17,8 @@
To make this compile you'll need the following packages installed
(at a minimum):
- gcc-c++, gtk2-devel, yast2-devtools, yast2-core-devel, yast2-libyui-devel,
- and libzypp-devel
+ gcc-c++, cmake, gtk2-devel, yast2-devtools, yast2-core-devel,
+ yast2-libyui-devel, and libzypp-devel
They all are distributed with Suse's CDs.
Modified: trunk/gtk/src/pkg/ygtkpkgdetailview.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkgdetailview.cc?rev=62203&r1=62202&r2=62203&view=diff
==============================================================================
--- trunk/gtk/src/pkg/ygtkpkgdetailview.cc (original)
+++ trunk/gtk/src/pkg/ygtkpkgdetailview.cc Sat Jul 10 14:45:17 2010
@@ -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, 120, -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);
col = ygtk_rich_text_new();
+ gtk_widget_set_size_request (col, 120, -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, 120, -1);
ygtk_rich_text_set_text (YGTK_RICH_TEXT (col), col3.c_str());
if (dep == 0)
g_signal_connect (G_OBJECT (col), "link-clicked",
@@ -756,7 +759,7 @@
clear();
std::string installed_str (_("<b>Installed Version</b>"));
- std::string candidate_str (_("<b>Candidate Version</b>"));
+ std::string candidate_str (_("<b>Available Version</b>"));
if (sel.hasInstalledVersion())
installed_str += "\n" + sel.installed().number();
if (sel.hasCandidateVersion())
@@ -1047,7 +1050,7 @@
Ypp::Selectable sel = list.get (0);
std::string str (authors (sel));
if (str.empty())
- ygtk_rich_text_set_text (YGTK_RICH_TEXT (text), _("<i>Unspecified attribute.</i>"));
+ ygtk_rich_text_set_text (YGTK_RICH_TEXT (text), _("<i>Not specified.</i>"));
else
ygtk_rich_text_set_text (YGTK_RICH_TEXT (text), str.c_str());
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org