mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
Fix a problem with context menu sensitivity
svn path=/trunk/; revision=20834
This commit is contained in:
parent
b0ac0f978e
commit
ba3b08bc7b
@ -1,3 +1,11 @@
|
||||
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
|
||||
Call shortcuts_check_popup_sensitivity() every time the
|
||||
menu is popped up. Problem reported by Hong Jen Yee
|
||||
|
||||
2008-07-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 488766 – GtkFileChooserButton doesn't clear icon after
|
||||
|
@ -3708,14 +3708,13 @@ shortcuts_build_popup_menu (GtkFileChooserDefault *impl)
|
||||
G_CALLBACK (rename_shortcut_cb), impl);
|
||||
gtk_widget_show (item);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (impl->browse_shortcuts_popup_menu), item);
|
||||
|
||||
shortcuts_check_popup_sensitivity (impl);
|
||||
}
|
||||
|
||||
static void
|
||||
shortcuts_update_popup_menu (GtkFileChooserDefault *impl)
|
||||
{
|
||||
shortcuts_build_popup_menu (impl);
|
||||
shortcuts_check_popup_sensitivity (impl);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user