Mercurial > geeqie.yaz
diff src/layout_image.c @ 1292:4a3ae0e6f1eb
droped Preferences dialog, sidebar should replace it completely
author | nadvornik |
---|---|
date | Sat, 14 Feb 2009 20:26:30 +0000 |
parents | eba0b4ae413b |
children | 55ea4962887a |
line wrap: on
line diff
--- a/src/layout_image.c Sat Feb 14 19:50:54 2009 +0000 +++ b/src/layout_image.c Sat Feb 14 20:26:30 2009 +0000 @@ -21,7 +21,6 @@ #include "image.h" #include "image-overlay.h" #include "img-view.h" -#include "info.h" #include "layout.h" #include "layout_util.h" #include "menu.h" @@ -338,13 +337,6 @@ image_alter(lw->image, type); } -static void li_pop_menu_info_cb(GtkWidget *widget, gpointer data) -{ - LayoutWindow *lw = data; - - info_window_new(layout_image_get_fd(lw), NULL, lw->full_screen ? lw->full_screen->window : NULL); -} - static void li_pop_menu_new_cb(GtkWidget *widget, gpointer data) { LayoutWindow *lw = data; @@ -494,9 +486,6 @@ item = submenu_add_alter(menu, G_CALLBACK(li_pop_menu_alter_cb), lw); - item = menu_item_add_stock(menu, _("_Properties"), GTK_STOCK_PROPERTIES, G_CALLBACK(li_pop_menu_info_cb), lw); - if (!path) gtk_widget_set_sensitive(item, FALSE); - item = menu_item_add_stock(menu, _("View in _new window"), GTK_STOCK_NEW, G_CALLBACK(li_pop_menu_new_cb), lw); if (!path || fullscreen) gtk_widget_set_sensitive(item, FALSE);