Your message dated Mon, 28 Jan 2008 00:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#445466: fixed in grun 0.9.3-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: grun
Version: 0.9.2-14
Severity: wishlist
Tags: patch


Using the 'fixed' layout for widgets causes them to be unable to
adjust to changes in text size, such as that caused by using different
fonts, or by translations. The following patch removes said use.

----------------------------------------------------------------------
diff --git a/grun.c b/grun.c
index 953d676..8f259c2 100644
--- a/grun.c
+++ b/grun.c
@@ -1059,7 +1059,7 @@ int main(int argc, char **argv) {
 #else
 int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int 
nShowCmd) {
 #endif
-       GtkWidget *win, *btn, *lbl, *cmb, *fix;
+        GtkWidget *win, *btn, *lbl, *cmb, *main_box, *button_box;
        GtkTooltips *tips;
        int c, len, persist, tooltips;
        char *home_env, *fname, *cmd, *icmd;
@@ -1182,7 +1182,7 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, 
LPSTR lpCmdLine, int nS
        sprintf(fname, gettext("gRun %s"), VERSION);
        gtk_window_set_title(GTK_WINDOW(win), fname);
        g_free(fname);
-       gtk_widget_set_usize(GTK_WIDGET(win), 250, 100);
+
        gtk_signal_connect(GTK_OBJECT (win), "destroy", (GtkSignalFunc) gexit, 
NULL);
        gtk_container_border_width(GTK_CONTAINER (win), 5);
 
@@ -1194,12 +1194,15 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE 
hPrevInst, LPSTR lpCmdLine, int nS
                gtk_tooltips_disable(tips);
        }
 
-       fix = gtk_fixed_new();
-       gtk_container_add(GTK_CONTAINER(win), fix);
+       main_box = gtk_vbox_new(FALSE, 5);
+       gtk_container_add(GTK_CONTAINER(win), main_box);
 
        lbl = gtk_label_new(gettext("Launch Application"));
-       gtk_fixed_put(GTK_FIXED (fix), lbl, 65, 4);
-       gtk_widget_show(lbl);
+        button_box = gtk_hbutton_box_new();
+
+       gtk_box_pack_start_defaults(GTK_BOX (main_box), lbl);
+       gtk_box_pack_end_defaults(GTK_BOX (main_box), button_box);
+
 
        list = loadHistory();
        gdat->history = list;
@@ -1214,8 +1217,9 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, 
LPSTR lpCmdLine, int nS
        cmb = gtk_combo_new();
        gdat->cmb = cmb;
        gdat->rsp = NULL;
-       gtk_widget_set_usize(GTK_WIDGET (GTK_COMBO(cmb)->entry), 215, 24);
-       gtk_fixed_put(GTK_FIXED (fix), cmb, 5, 27);
+
+       gtk_box_pack_start_defaults(GTK_BOX (main_box), cmb);
+
        if (list) {
                gtk_combo_set_popdown_strings(GTK_COMBO (cmb), list);
                gtk_entry_set_text(GTK_ENTRY (GTK_COMBO (cmb)->entry), 
list->data);
@@ -1231,14 +1235,12 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE 
hPrevInst, LPSTR lpCmdLine, int nS
        }
        gtk_signal_connect(GTK_OBJECT (GTK_COMBO (cmb)->entry), 
"key_press_event", (GtkSignalFunc) gclick, (gpointer) gdat);
        gtk_window_set_focus(GTK_WINDOW (win), GTK_COMBO (cmb)->entry);
-       gtk_widget_show(cmb);
 
        btn = gtk_button_new_with_label(gettext("OK"));
-       gtk_widget_set_usize(GTK_WIDGET(btn), 70, 24);
-       gtk_fixed_put(GTK_FIXED (fix), btn, 5, 60);
+
+       gtk_box_pack_start_defaults(GTK_BOX (button_box), btn);
        gtk_signal_connect(GTK_OBJECT (btn), "clicked", (GtkSignalFunc) launch, 
(gpointer) gdat);
        gtk_tooltips_set_tip(tips, btn, gettext("Launch application"), 
gettext("The OK button launches the application given in the entry box"));
-       gtk_widget_show(btn);
 
        if (persist) {
                btn = gtk_button_new_with_label(gettext("Close"));
@@ -1247,8 +1249,7 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, 
LPSTR lpCmdLine, int nS
                btn = gtk_button_new_with_label(gettext("Cancel"));
        }
 
-       gtk_widget_set_usize(GTK_WIDGET(btn), 70, 24);
-       gtk_fixed_put(GTK_FIXED (fix), btn, 85, 60);
+       gtk_box_pack_start_defaults(GTK_BOX (button_box), btn);
        gtk_signal_connect(GTK_OBJECT (btn), "clicked", (GtkSignalFunc) cancel, 
(gpointer) gdat);
        if (persist) {
                gtk_tooltips_set_tip(tips, btn, gettext("Close gRun"), 
gettext("The Close button will close the persistant gRun window"));
@@ -1256,16 +1257,12 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE 
hPrevInst, LPSTR lpCmdLine, int nS
        else {
                gtk_tooltips_set_tip(tips, btn, gettext("Cancel launch"), 
gettext("The Cancel button cancels the launch process and closes gRun"));
        }
-       gtk_widget_show(btn);
 
        btn = gtk_button_new_with_label(gettext("Browse"));
-       gtk_widget_set_usize(GTK_WIDGET(btn), 70, 24);
-       gtk_fixed_put(GTK_FIXED (fix), btn, 165, 60);
+       gtk_box_pack_start_defaults(GTK_BOX (button_box), btn);
        gtk_signal_connect(GTK_OBJECT (btn), "clicked", (GtkSignalFunc) browse, 
(gpointer) gdat);
        gtk_tooltips_set_tip(tips, btn, gettext("Browse for command"), 
gettext("The Browse button opens a file selection box so the user can browse 
for the command to launch"));
-       gtk_widget_show(btn);
 
-       gtk_widget_show(fix);
        gtk_window_set_policy(GTK_WINDOW (win), FALSE, FALSE, FALSE);
        gtk_widget_realize(win);
 
@@ -1280,7 +1277,7 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, 
LPSTR lpCmdLine, int nS
        g_free(mask);
 #endif
 #endif /* 0 */
-       gtk_widget_show(win);
+       gtk_widget_show_all(win);
        gtk_main();
         return 0;
 }
----------------------------------------------------------------------


-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: grun
Source-Version: 0.9.3-1

We believe that the bug you reported is fixed in the latest version of
grun, which is due to be installed in the Debian FTP archive:

grun_0.9.3-1.diff.gz
  to pool/main/g/grun/grun_0.9.3-1.diff.gz
grun_0.9.3-1.dsc
  to pool/main/g/grun/grun_0.9.3-1.dsc
grun_0.9.3-1_i386.deb
  to pool/main/g/grun/grun_0.9.3-1_i386.deb
grun_0.9.3.orig.tar.gz
  to pool/main/g/grun/grun_0.9.3.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> (supplier of updated grun 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 27 Jan 2008 00:19:36 -0600
Source: grun
Binary: grun
Architecture: source i386
Version: 0.9.3-1
Distribution: unstable
Urgency: low
Maintainer: Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]>
Changed-By: Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]>
Description: 
 grun       - GTK based Run dialog
Closes: 445466 461171
Changes: 
 grun (0.9.3-1) unstable; urgency=low
 .
   * New maintainer. Many thanks to oohara for all his previous work.
   * New upstream Release (Closes: #461171).
    - Most Debian patches have been integrated upstream, so our diff is
     now contained within /debian.
    - gassoc and consfile are now shipped in sysconfdir upstream, so
     there's no longer a need to move them. Removed postinst and prerm
     snippets to symlink /usr/share/grun.
    - Uses dynamic layout for widgets (Closes: #445466).
   * Remove autoconf and automake1.7 from Build-depends, we don't need to
     regenerate the build system anymore.
   * Remove pkg-config from Build-depends, it's required by libgtk2.0-dev
   anyways.
   * Remove Conflicts: gnome-utils (<= 1.0.50-5). Even oldstable has 2.8.1-1.
   * Remove tricks from debian/rules to regenerate *gmo files, and clean up
    useless commented out commands.
   * Move the menu entry to Applications/File Management, to comply with the new
    menu policy.
   * Update to debhelper compat mode 5, and upgrade the build-dependency
    accordingly.
   * Tweak debian/rules to use --host, --build, CFLAGS and LDFLAGS.
   * Update to Standards-Version 3.7.3. No further changes needed.
Files: 
 cb4df6191c6271386e02b4251119a23a 671 x11 optional grun_0.9.3-1.dsc
 7788783e5a18221ae591606075d3a8ee 368318 x11 optional grun_0.9.3.orig.tar.gz
 83429574bb43e1c736b9aa84bd29b952 6408 x11 optional grun_0.9.3-1.diff.gz
 43c2a6abe60d546ac734b5b6005e831b 34618 x11 optional grun_0.9.3-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHnRzNAZmDGK3JvCgRAkRNAJ42hIV0OdQxxhg4eMLrLM24N+lWogCfdquF
ztfrWHBF6s0ipnWGJCnv3pY=
=c3EH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to