]> spindle.queued.net Git - midori/commitdiff
Fix label alignment of tool items created for bookmarks
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 15:34:54 +0000 (17:34 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 15:34:54 +0000 (17:34 +0200)
katze/katze-arrayaction.c

index cc887bc5f7143a0a739f0c732ca131a570ff9e37..96c25cb1a4fe329400955535d17d97c49c750711 100644 (file)
@@ -559,7 +559,7 @@ katze_array_action_create_tool_item_for (KatzeArrayAction* array_action,
     gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (toolitem), image);
     label = gtk_label_new (NULL);
     /* FIXME: Should text direction be respected here? */
-    gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
+    gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
     gtk_label_set_max_width_chars (GTK_LABEL (label), 25);
     gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_MIDDLE);
     gtk_widget_show (label);