Blame SOURCES/libglade-2.0.1-nowarning.patch
|
|
f5597f |
--- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400
|
|
|
f5597f |
+++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400
|
|
|
f5597f |
@@ -639,9 +639,8 @@
|
|
|
f5597f |
if (!strcmp (childinfo->properties[j].name, "label")) {
|
|
|
f5597f |
label = childinfo->properties[j].value;
|
|
|
f5597f |
break;
|
|
|
f5597f |
- } else {
|
|
|
f5597f |
- g_warning ("Unknown CList child property: %s", childinfo->properties[j].name);
|
|
|
f5597f |
}
|
|
|
f5597f |
+ /* Ignore all other properties */
|
|
|
f5597f |
}
|
|
|
f5597f |
|
|
|
f5597f |
if (label) {
|
|
|
f5597f |
@@ -683,6 +682,7 @@
|
|
|
f5597f |
char *icon = NULL;
|
|
|
f5597f |
gboolean use_stock = FALSE, active = FALSE, new_group = FALSE;
|
|
|
f5597f |
gboolean use_underline = FALSE;
|
|
|
f5597f |
+ gboolean sensitive = TRUE;
|
|
|
f5597f |
GtkWidget *iconw = NULL;
|
|
|
f5597f |
int j;
|
|
|
f5597f |
|
|
|
f5597f |
@@ -708,6 +708,8 @@
|
|
|
f5597f |
group_name = value;
|
|
|
f5597f |
} else if (!strcmp (name, "new_group")) {
|
|
|
f5597f |
new_group = BOOL (value);
|
|
|
f5597f |
+ } else if (!strcmp (name, "sensitive")) {
|
|
|
f5597f |
+ sensitive = BOOL (value);
|
|
|
f5597f |
} else if (!strcmp (name, "visible")) {
|
|
|
f5597f |
/* ignore for now */
|
|
|
f5597f |
} else if (!strcmp (name, "tooltip")) {
|
|
|
f5597f |
@@ -785,6 +787,8 @@
|
|
|
f5597f |
gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label),
|
|
|
f5597f |
TRUE);
|
|
|
f5597f |
}
|
|
|
f5597f |
+
|
|
|
f5597f |
+ gtk_widget_set_sensitive (child, sensitive);
|
|
|
f5597f |
|
|
|
f5597f |
glade_xml_set_common_params (xml, child, childinfo->child);
|
|
|
f5597f |
} else {
|