aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c1
-rw-r--r--src/messages-service.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 01f2579..0d0e294 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -285,6 +285,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, 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);
diff --git a/src/messages-service.c b/src/messages-service.c
index 1272355..65c9af7 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -350,6 +350,7 @@ blacklist_remove (gpointer data)
}
check_hidden();
+ resort_menu(root_menuitem);
return FALSE;
}