summaryrefslogtreecommitdiff
path: root/wm/obconf/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'wm/obconf/patches/patch-aa')
-rw-r--r--wm/obconf/patches/patch-aa55
1 files changed, 55 insertions, 0 deletions
diff --git a/wm/obconf/patches/patch-aa b/wm/obconf/patches/patch-aa
new file mode 100644
index 00000000000..57517e13eb8
--- /dev/null
+++ b/wm/obconf/patches/patch-aa
@@ -0,0 +1,55 @@
+$NetBSD: patch-aa,v 1.1 2004/01/14 22:33:28 wiz Exp $
+
+--- src/handlers.c.orig Sun Sep 28 11:10:25 2003
++++ src/handlers.c
+@@ -45,13 +45,12 @@ void setup_behavior_tab()
+ GtkWidget *edgeresist = glade_xml_get_widget(glade, "resist_edge");
+ GtkSizeGroup *group1 = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
+
+- gtk_size_group_add_widget(group1, winresist);
+- gtk_size_group_add_widget(group1, edgeresist);
+-
+ GtkWidget *winresist_l = glade_xml_get_widget(glade, "resist_window_label");
+ GtkWidget *edgeresist_l = glade_xml_get_widget(glade, "resist_edge_label");
+ GtkSizeGroup *group2 = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
+
++ gtk_size_group_add_widget(group1, winresist);
++ gtk_size_group_add_widget(group1, edgeresist);
+ gtk_size_group_add_widget(group2, winresist_l);
+ gtk_size_group_add_widget(group2, edgeresist_l);
+ }
+@@ -62,13 +61,12 @@ void setup_dock_tab()
+ GtkWidget *dir = glade_xml_get_widget(glade, "dock_direction");
+ GtkSizeGroup *group1 = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
+
+- gtk_size_group_add_widget(group1, posi);
+- gtk_size_group_add_widget(group1, dir);
+-
+ GtkWidget *posi_l = glade_xml_get_widget(glade, "dock_position_label");
+ GtkWidget *dir_l = glade_xml_get_widget(glade, "dock_direction_label");
+ GtkSizeGroup *group2 = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
+
++ gtk_size_group_add_widget(group1, posi);
++ gtk_size_group_add_widget(group1, dir);
+ gtk_size_group_add_widget(group2, posi_l);
+ gtk_size_group_add_widget(group2, dir_l);
+ }
+@@ -979,14 +977,15 @@ static void on_desktop_names_cell_edited
+ const gchar *new_text,
+ gpointer data)
+ {
+- if (mapping) return;
+-
+- GtkTreePath *path = gtk_tree_path_new_from_string (path_string);
++ GtkTreePath *path;
+ GtkTreeIter it;
+ gchar *old_text;
+ GList *lit;
+ gint i;
+ xmlNodePtr n, c;
++
++ if (mapping) return;
++ path = gtk_tree_path_new_from_string (path_string);
+
+ gtk_tree_model_get_iter(GTK_TREE_MODEL(desktop_store), &it, path);
+