FvwmGtk entry widget fix

2006-10-22 Thread Ben Kibbey
When there is no initial text to the entry widget and you want to
specify entry widget options the options separator -- is thought to be
the initial text. Here's a patch.

-- 
Benjamin J. Kibbey [EMAIL PROTECTED]/jabber/freenode
3019 F5FC AA33 5BC7 BE9F 09D2 393E DBD2 40D5 FA7E
Index: ChangeLog
===
RCS file: /home/cvs/fvwm/fvwm/modules/ChangeLog,v
retrieving revision 1.1217
diff -u -u -r1.1217 ChangeLog
--- ChangeLog   7 Oct 2006 22:30:38 -   1.1217
+++ ChangeLog   22 Oct 2006 16:07:15 -
@@ -1,3 +1,8 @@
+2006-10-22  Ben Kibbey [EMAIL PROTECTED]
+
+* FvwmGtk/dialog.c (dialog_entry):
+Fix entry widget options with no argv[1].
+
 2006-10-08  Viktor Griph  [EMAIL PROTECTED]
 
* FvwmProxy/FvwmProxy.c (FindProxyGroupWithWindowName):
Index: FvwmGtk/dialog.c
===
RCS file: /home/cvs/fvwm/fvwm/modules/FvwmGtk/dialog.c,v
retrieving revision 1.7
diff -u -u -r1.7 dialog.c
--- FvwmGtk/dialog.c29 Jun 2003 19:53:25 -  1.7
+++ FvwmGtk/dialog.c22 Oct 2006 16:07:22 -
@@ -445,7 +445,7 @@
   g_return_if_fail (argc = 1);
   item = gtk_entry_new ();
   gtk_widget_set_name (item, argv[0]);
-  if (argc = 2)
+  if (argc = 2  strcmp(argv[1], --) != 0)
 {
   gtk_entry_set_text (GTK_ENTRY (item), argv[1]);
 }


CVS scott: Update URL in man page to newly-available X11-Protocol CPAN module.

2006-10-22 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: scott   06/10/22 21:26:48

Modified files:
modules/FvwmTabs: FvwmTabs.1 FvwmTabs.pod 

Log message:
Update URL in man page to newly-available X11-Protocol CPAN module.