ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #00342
[Branch ~indicator-applet-developers/indicator-messages/trunk] Rev 144: Merging in the minimum width branch to fix descriptions getting truncated when they're a reasonab...
Merge authors:
Ted Gould (ted)
Related merge proposals:
https://code.launchpad.net/~ted/indicator-messages/min-width/+merge/12314
proposed by: Ted Gould (ted)
review: Approve - David Barth (dbarth)
------------------------------------------------------------
revno: 144 [merge]
committer: Ted Gould <ted@xxxxxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-09-24 12:41:53 -0500
message:
Merging in the minimum width branch to fix descriptions getting truncated when they're a reasonable length.
modified:
src/indicator-messages.c
src/messages-service.c
--
lp:indicator-messages
https://code.launchpad.net/~indicator-applet-developers/indicator-messages/trunk
Your team ayatana-commits is subscribed to branch lp:indicator-messages.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-messages/trunk/+edit-subscription.
=== modified file 'src/indicator-messages.c'
--- src/indicator-messages.c 2009-09-23 18:22:08 +0000
+++ src/indicator-messages.c 2009-09-24 17:41:53 +0000
@@ -285,6 +285,7 @@
GtkWidget * dsc_label = gtk_label_new("");
gtk_misc_set_alignment(GTK_MISC(dsc_label), 0.05, 0.5);
gtk_label_set_ellipsize(GTK_LABEL(dsc_label), PANGO_ELLIPSIZE_END);
+ gtk_widget_set_size_request(dsc_label, 200, -1);
gchar * markup = g_markup_printf_escaped("<span font-size=\"smaller\">%s</span>", dbusmenu_menuitem_property_get(newitem, LAUNCHER_MENUITEM_PROP_APP_DESC));
gtk_label_set_markup(GTK_LABEL(dsc_label), markup);
g_free(markup);
=== modified file 'src/messages-service.c'
--- src/messages-service.c 2009-09-23 16:48:09 +0000
+++ src/messages-service.c 2009-09-23 21:05:02 +0000
@@ -350,6 +350,7 @@
}
check_hidden();
+ resort_menu(root_menuitem);
return FALSE;
}