Merged from gtk-2-6:
2005-04-18 Federico Mena Quintero <federico@ximian.com> Merged from gtk-2-6: * 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:
parent
9725c8d752
commit
d22aa7c0f5
@ -1,3 +1,11 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
* 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-18 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
* 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-18 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-04-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
||||
* 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-18 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
|
||||
|
@ -2049,7 +2049,6 @@ remove_selected_bookmarks (GtkFileChooserDefault *impl)
|
||||
{
|
||||
GtkTreeIter iter;
|
||||
gpointer col_data;
|
||||
gboolean is_volume;
|
||||
GtkFilePath *path;
|
||||
gboolean removable;
|
||||
GError *error;
|
||||
@ -2059,11 +2058,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;
|
||||
|
Loading…
Reference in New Issue
Block a user