mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 10:45:41 +00:00
don't rely on GTK+ implementation details when getting a GtkAction. Thanks
2009-01-23 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-window-menus.c (menu_item_select_cb): don't rely on GTK+ implementation details when getting a GtkAction. Thanks to Christian Persch (#568880). svn path=/trunk/; revision=14884
This commit is contained in:
parent
71cd8add3f
commit
7df107e725
|
@ -1,3 +1,10 @@
|
|||
2009-01-23 Cosimo Cecchi <cosimoc@gnome.org>
|
||||
|
||||
* src/nautilus-window-menus.c
|
||||
(menu_item_select_cb): don't rely on GTK+ implementation details
|
||||
when getting a GtkAction.
|
||||
Thanks to Christian Persch (#568880).
|
||||
|
||||
2009-01-22 A. Walton <awalton@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-file.c (nautilus_file_clear_info):
|
||||
|
|
|
@ -590,7 +590,7 @@ menu_item_select_cb (GtkMenuItem *proxy,
|
|||
GtkAction *action;
|
||||
char *message;
|
||||
|
||||
action = g_object_get_data (G_OBJECT (proxy), "gtk-action");
|
||||
action = gtk_widget_get_action (GTK_WIDGET (proxy));
|
||||
g_return_if_fail (action != NULL);
|
||||
|
||||
g_object_get (G_OBJECT (action), "tooltip", &message, NULL);
|
||||
|
|
Loading…
Reference in a new issue