[geany/geany-osx] e1fb74: Patch popup size problem for vimode plugin

Jiří Techet git-noreply at xxxxx
Fri Nov 19 15:41:22 UTC 2021


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Fri, 19 Nov 2021 15:41:22 UTC
Commit:      e1fb74b386915fc31e3ef11686a18f51694f8d63
             https://github.com/geany/geany-osx/commit/e1fb74b386915fc31e3ef11686a18f51694f8d63

Log Message:
-----------
Patch popup size problem for vimode plugin


Modified Paths:
--------------
    geany.modules
    geany_patches/02-geany_plugins_vimode_height.patch

Modified: geany.modules
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -144,6 +144,8 @@
             checkoutdir="geany-plugins-git"
             revision="master">
       <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/01-geany_plugins_spellcheck_relocation.patch" strip="1" />
+      <!-- TODO: remove once merged upstream -->
+      <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/02-geany_plugins_vimode_height.patch" strip="1" />
     </branch>
     <dependencies>
       <dep package="geany-git" />
@@ -159,6 +161,8 @@
             checkoutdir="geany-plugins-${version}"
             version="1.38">
       <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/01-geany_plugins_spellcheck_relocation.patch" strip="1" />
+      <!-- TODO: remove once merged upstream -->
+      <patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/02-geany_plugins_vimode_height.patch" strip="1" />
     </branch>
     <dependencies>
       <dep package="geany-release" />


Modified: geany_patches/02-geany_plugins_vimode_height.patch
12 lines changed, 12 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,12 @@
+diff --git a/vimode/src/excmd-prompt.c b/vimode/src/excmd-prompt.c
+index 93848ca88037051dfc340707790cd560e2596a76..44e9d434c8bb8c9335ced85f49123cc29ba92172 100644
+--- a/vimode/src/excmd-prompt.c
++++ b/vimode/src/excmd-prompt.c
+@@ -225,6 +225,7 @@ void ex_prompt_init(GtkWidget *parent_window, CmdContext *c)
+ 	prompt = g_object_new(GTK_TYPE_WINDOW,
+ 			"decorated", FALSE,
+ 			"default-width", PROMPT_WIDTH,
++			"default-height", 1,
+ 			"transient-for", parent_window,
+ 			"window-position", GTK_WIN_POS_CENTER_ON_PARENT,
+ 			"type-hint", GDK_WINDOW_TYPE_HINT_DIALOG,



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list