Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: GitHub noreply@github.com Date: Mon, 07 Oct 2024 17:15:17 UTC Commit: 02900e51bbdffa36a1f10bf7608b121fd054ce7b https://github.com/geany/geany-plugins/commit/02900e51bbdffa36a1f10bf7608b12...
Log Message: ----------- Merge pull request #1376 from Skif-off/geanylua-dlg
FIX: GeanyLua: 'Choose' dialog size/appearance (b4n's patch)
Modified Paths: -------------- geanylua/glspi_dlg.c
Modified: geanylua/glspi_dlg.c 4 lines changed, 3 insertions(+), 1 deletions(-) =================================================================== @@ -163,10 +163,12 @@ static gint glspi_choose(lua_State* L) scroll=gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_IN); gtk_container_add(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),scroll); + gtk_widget_set_vexpand(scroll, TRUE); gtk_container_add(GTK_CONTAINER(scroll),tree);
- gtk_widget_set_size_request(tree, 320, 240); + gtk_widget_set_size_request(scroll, 320, 240); gtk_widget_show_all(dialog); gtk_window_set_resizable(GTK_WINDOW(dialog), TRUE);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).