summaryrefslogtreecommitdiff
path: root/src/gdialog
diff options
context:
space:
mode:
authorMike Newman <MikeGTN@src.gnome.org>2003-05-27 17:56:51 +0000
committerMike Newman <MikeGTN@src.gnome.org>2003-05-27 17:56:51 +0000
commita7673b42d20f5cbacd61b4dd85408e54aafd135d (patch)
treeb3dea642dc0cdba50e3a8d73b5d69a514ccc7276 /src/gdialog
parent25d20adbd11319e7224ada5970c1a1b1ba6557df (diff)
Fix an indentation weirdness in calendar.c
Take notice of width and height in gdialog wrapper for textbox, because the original gdialog also did.
Diffstat (limited to 'src/gdialog')
-rw-r--r--src/gdialog14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gdialog b/src/gdialog
index 20322c7..02ac6a9 100644
--- a/src/gdialog
+++ b/src/gdialog
@@ -28,6 +28,8 @@ sub get_arg () {
# walk the command line
+print $args;
+
ARG: while ($argn < $args) {
get_arg;
@@ -115,6 +117,18 @@ ARG: while ($argn < $args) {
$argn++;
get_arg;
$command .= "--filename=\"$element\" ";
+
+ # width and height matter for this one, so get them
+ # and apply the same multipliers as used in gdialog
+
+ $argn++;
+ get_arg;
+ $element = $element * 8;
+ $command .= "--width=\"$element\" ";
+ $argn++;
+ get_arg;
+ $element = $element * 7;
+ $command .= "--height=\"$element\" ";
last ARG;
}