Package: gmrun
Version: 0.9.1-2.4
Followup-For: Bug #460315
Attached is the dpatch for the bug. Just dropping it in debian/patches,
updating 00list, and debuilding it works fine here.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gmrun depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcairo2 1.6.4-6 The Cairo 2D vector graphics libra
ii libgcc1 1:4.3.2-1 GCC support library
ii libglib2.0-0 2.16.5-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-3 The GTK+ graphical user interface
ii libpango1.0-0 1.20.5-2 Layout and rendering of internatio
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
gmrun recommends no packages.
gmrun suggests no packages.
-- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run
## 40-cmdline.dpatch by Fernando Vezzosi <[EMAIL PROTECTED]>
##
## DP: add support for command line argument as initial content
@DPATCH@
--- gmrun-0.9.1/src/main.cc 2008-01-12 00:35:33.000000000 +0100
+++ gmrun-0.9.1/src/main.cc 2008-01-12 00:32:31.000000000 +0100
@@ -603,6 +603,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;