diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | libnautilus-extensions/nautilus-preferences-box.c | 2 | ||||
-rw-r--r-- | libnautilus-private/nautilus-preferences-box.c | 2 |
3 files changed, 12 insertions, 2 deletions
@@ -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; } |