diff options
author | Ted Gould <ted@canonical.com> | 2009-09-23 15:49:37 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-23 15:49:37 -0500 |
commit | a8ccb31fbb4a2c7a6bba2b19933ffad754e7f910 (patch) | |
tree | e9da61e91e46b42f63f62637633e910e5e63838e /src | |
parent | ab65f0c528abb11dd7a822583a07c522963d9384 (diff) | |
download | ayatana-indicator-messages-a8ccb31fbb4a2c7a6bba2b19933ffad754e7f910.tar.gz ayatana-indicator-messages-a8ccb31fbb4a2c7a6bba2b19933ffad754e7f910.tar.bz2 ayatana-indicator-messages-a8ccb31fbb4a2c7a6bba2b19933ffad754e7f910.zip |
Putting in teh size request a minimum width
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index a3f22aa..e180992 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -241,6 +241,7 @@ new_launcher_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusme 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, 250, -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); |