diff options
author | Edinaldo P.Silva <edps.mundognu@gmail.com> | 2017-03-10 09:49:47 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-10 09:50:48 +0000 |
commit | e3a478c576dff0958d1176710851195e44fe81c2 (patch) | |
tree | 8c1f6fe879d9d21307457f6cc59becb600c0edf4 /desktop/gmrun/patches/70-cmdline.patch | |
parent | fac6fa454693c332345f5970801f5b1f704247cb (diff) |
desktop/gmrun: New maintainer + add manpage & patches.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/gmrun/patches/70-cmdline.patch')
-rw-r--r-- | desktop/gmrun/patches/70-cmdline.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/gmrun/patches/70-cmdline.patch b/desktop/gmrun/patches/70-cmdline.patch new file mode 100644 index 0000000000000..05bac80ae3ac9 --- /dev/null +++ b/desktop/gmrun/patches/70-cmdline.patch @@ -0,0 +1,18 @@ +# Description: add support for command line argument as initial content +# Author: Fernando Vezzosi <fv@linuxvar.it> + +Index: gmrun-0.9.2/src/main.cc +=================================================================== +--- gmrun-0.9.2.orig/src/main.cc 2010-02-03 12:36:13.483769799 +0800 ++++ gmrun-0.9.2/src/main.cc 2010-02-03 12:37:21.895975382 +0800 +@@ -619,6 +619,10 @@ + gtk_completion_line_last_history_item(GTK_COMPLETION_LINE(compline)); + } + ++ if(argc == 2 && argv[1]){ ++ gtk_entry_set_text(GTK_ENTRY(compline), argv[1]); ++ } ++ + gtk_box_pack_start(GTK_BOX(hbox), compline, TRUE, TRUE, 0); + + int prefs_top = 80; |