[glade--]Bug fix for file selection
- From: Mark Jones <mark jones106 verizon net>
- To: Christof Petig <christof petig-baender de>
- Cc: glademm-list gnome org
- Subject: [glade--]Bug fix for file selection
- Date: 22 Dec 2002 20:16:13 -0500
Here is a bug fix for whether to show file ops or not.
Mark
? patch.diff
Index: src/writers/fileselection.cc
===================================================================
RCS file: /cvs/gnome/glade--/src/writers/fileselection.cc,v
retrieving revision 1.12
diff -u -r1.12 fileselection.cc
--- src/writers/fileselection.cc 30 Oct 2002 07:22:46 -0000 1.12
+++ src/writers/fileselection.cc 23 Dec 2002 02:14:44 -0000
@@ -74,5 +74,12 @@
void Gtk_FileSelection::Configure(const Widget &w, CxxFile &f,const std::string &instance) const
{ Parent::Configure(w,f,instance);
- WriteBoolProp_2Fun(w,f,instance, "show_file_op_buttons", "hide_fileop_buttons()", "show_fileop_buttons()");
+ if ( !GTKMM2 )
+ {
+ WriteBoolProp_2Fun(w,f,instance, "show_file_op_buttons", "hide_fileop_buttons()", "show_fileop_buttons()");
+ }
+ else
+ {
+ WriteBoolProp_2Fun(w,f,instance, "show_fileops", "hide_fileop_buttons()", "show_fileop_buttons()");
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]