summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-03-07 08:37:16 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-03-07 08:37:16 +0000
commit2117a9968e374486ea2436ef3d013cd19c73bbab (patch)
tree011165618b25a2c8b723b2154776c1d84508264e
parent0548200fc062353206ef4c11c4893d2994753e72 (diff)
downloadnautilus-2117a9968e374486ea2436ef3d013cd19c73bbab.tar.gz
Ramiro Estrugo <ramiro@eazel.com> said without this patch life as we know
Wed Mar 07 00:35:04 2001 George Lebl <jirka@5z.com> Ramiro Estrugo <ramiro@eazel.com> said without this patch life as we know it will cease to exist. * libnautilus-extensions/nautilus-preferences-box.c (category_list_select_row_callback): When getting the category name, get it out of the correct row. Fixes #7482
-rw-r--r--ChangeLog10
-rw-r--r--libnautilus-extensions/nautilus-preferences-box.c2
-rw-r--r--libnautilus-private/nautilus-preferences-box.c2
3 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e4de6059f..9f9f30f5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Wed Mar 07 00:35:04 2001 George Lebl <jirka@5z.com>
+
+ Ramiro Estrugo <ramiro@eazel.com> said without this patch
+ life as we know it will cease to exist.
+
+ * libnautilus-extensions/nautilus-preferences-box.c
+ (category_list_select_row_callback): When getting the
+ category name, get it out of the correct row.
+ Fixes #7482
+
2001-03-06 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: reviewed by: Darin Adler <darin@eazel.com>
diff --git a/libnautilus-extensions/nautilus-preferences-box.c b/libnautilus-extensions/nautilus-preferences-box.c
index 3e5f254e8..40c0825fe 100644
--- a/libnautilus-extensions/nautilus-preferences-box.c
+++ b/libnautilus-extensions/nautilus-preferences-box.c
@@ -271,7 +271,7 @@ category_list_select_row_callback (GtkCList *clist,
g_return_if_fail (NAUTILUS_IS_PREFERENCES_BOX (callback_data));
/* The cast here is needed because of the broken gtk_clist api */
- if (gtk_clist_get_text (clist, row, column, (char **) &pane_name) != 1) {
+ if (gtk_clist_get_text (clist, row, CATEGORY_COLUMN, (char **) &pane_name) != 1) {
return;
}
diff --git a/libnautilus-private/nautilus-preferences-box.c b/libnautilus-private/nautilus-preferences-box.c
index 3e5f254e8..40c0825fe 100644
--- a/libnautilus-private/nautilus-preferences-box.c
+++ b/libnautilus-private/nautilus-preferences-box.c
@@ -271,7 +271,7 @@ category_list_select_row_callback (GtkCList *clist,
g_return_if_fail (NAUTILUS_IS_PREFERENCES_BOX (callback_data));
/* The cast here is needed because of the broken gtk_clist api */
- if (gtk_clist_get_text (clist, row, column, (char **) &pane_name) != 1) {
+ if (gtk_clist_get_text (clist, row, CATEGORY_COLUMN, (char **) &pane_name) != 1) {
return;
}