Revision: 1289 http://svn.sourceforge.net/geany/?rev=1289&view=rev Author: eht16 Date: 2007-02-15 15:20:41 -0800 (Thu, 15 Feb 2007)
Log Message: ----------- Aligned "No symbols found" label to top.
Modified Paths: -------------- trunk/ChangeLog trunk/src/treeviews.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-02-15 19:39:22 UTC (rev 1288) +++ trunk/ChangeLog 2007-02-15 23:20:41 UTC (rev 1289) @@ -3,6 +3,7 @@ * data/filetypes.perl, src/highlighting.c: Added several missing style types for filetype Perl (thanks to John Gabriele for reporting). + * src/treeviews.c: Aligned "No symbols found" label to top.
2007-02-14 Frank Lanitz frank@frank.uvena.de
Modified: trunk/src/treeviews.c =================================================================== --- trunk/src/treeviews.c 2007-02-15 19:39:22 UTC (rev 1288) +++ trunk/src/treeviews.c 2007-02-15 23:20:41 UTC (rev 1289) @@ -113,12 +113,15 @@ if (app->default_tag_tree == NULL) { GtkScrolledWindow *scrolled_window = GTK_SCROLLED_WINDOW(app->tagbar); + GtkWidget *label;
// default_tag_tree is a GtkViewPort with a GtkLabel inside it app->default_tag_tree = gtk_viewport_new( gtk_scrolled_window_get_hadjustment(scrolled_window), gtk_scrolled_window_get_vadjustment(scrolled_window)); - gtk_container_add(GTK_CONTAINER(app->default_tag_tree), gtk_label_new(_("No tags found"))); + label = gtk_label_new(_("No tags found")); + gtk_misc_set_alignment(GTK_MISC(label), 0.1, 0.01); + gtk_container_add(GTK_CONTAINER(app->default_tag_tree), label); gtk_widget_show_all(app->default_tag_tree); g_signal_connect(G_OBJECT(app->default_tag_tree), "button-press-event", G_CALLBACK(on_default_tag_tree_button_press_event), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.