Remove obsolete assertion that the selected row can't be a volume; this is
2005-04-18 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove obsolete assertion that the selected row can't be a volume; this is handled by the "removable" column now. Fixes #301017.
This commit is contained in:
committed by
Federico Mena Quintero
parent
64cd25f582
commit
5c6870aff5
@@ -1,3 +1,9 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
|
||||
obsolete assertion that the selected row can't be a volume; this
|
||||
is handled by the "removable" column now. Fixes #301017.
|
||||
|
||||
2005-04-15 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
|
||||
obsolete assertion that the selected row can't be a volume; this
|
||||
is handled by the "removable" column now. Fixes #301017.
|
||||
|
||||
2005-04-15 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
|
||||
obsolete assertion that the selected row can't be a volume; this
|
||||
is handled by the "removable" column now. Fixes #301017.
|
||||
|
||||
2005-04-15 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
|
||||
|
||||
@@ -2041,7 +2041,6 @@ remove_selected_bookmarks (GtkFileChooserDefault *impl)
|
||||
{
|
||||
GtkTreeIter iter;
|
||||
gpointer col_data;
|
||||
gboolean is_volume;
|
||||
GtkFilePath *path;
|
||||
gboolean removable;
|
||||
GError *error;
|
||||
@@ -2051,11 +2050,9 @@ remove_selected_bookmarks (GtkFileChooserDefault *impl)
|
||||
|
||||
gtk_tree_model_get (GTK_TREE_MODEL (impl->shortcuts_model), &iter,
|
||||
SHORTCUTS_COL_DATA, &col_data,
|
||||
SHORTCUTS_COL_IS_VOLUME, &is_volume,
|
||||
SHORTCUTS_COL_REMOVABLE, &removable,
|
||||
-1);
|
||||
g_assert (col_data != NULL);
|
||||
g_assert (!is_volume);
|
||||
|
||||
if (!removable)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user