Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Tue, 29 May 2012 17:52:26 Commit: 18dea90938b19bdf12b2d932ce5c964f8c40080b https://github.com/geany/geany/commit/18dea90938b19bdf12b2d932ce5c964f8c4008...
Log Message: ----------- Show shadow around license text view in the about dialog
Since the license is a huge piece of text expected to possibly scroll horizontally, and since most themes display the background of text views in a different color than the default widget background color, adding a shadow makes the edges more visible and the UI neater.
Modified Paths: -------------- src/about.c
Modified: src/about.c 3 files changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -406,7 +406,10 @@ static GtkWidget *create_dialog(void) gtk_container_set_border_width(GTK_CONTAINER(license_scrollwin), 6); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(license_scrollwin), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(license_scrollwin), GTK_SHADOW_IN); license_textview = gtk_text_view_new(); + gtk_text_view_set_left_margin(GTK_TEXT_VIEW(license_textview), 2); + gtk_text_view_set_right_margin(GTK_TEXT_VIEW(license_textview), 2); gtk_text_view_set_editable(GTK_TEXT_VIEW(license_textview), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(license_textview), FALSE); gtk_widget_show(license_textview);
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).