[gnome-commander] advrename profiles: disabled unused buttons



commit 9e097c94e987c69e2f667c23fa416ba1c571396f
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Jun 15 23:55:23 2009 +0200

    advrename profiles: disabled unused buttons

 src/dialogs/gnome-cmd-manage-profiles-dialog.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-manage-profiles-dialog.cc b/src/dialogs/gnome-cmd-manage-profiles-dialog.cc
index 5bfb694..eeb5678 100644
--- a/src/dialogs/gnome-cmd-manage-profiles-dialog.cc
+++ b/src/dialogs/gnome-cmd-manage-profiles-dialog.cc
@@ -114,7 +114,7 @@ gboolean gnome_cmd_manage_profiles_dialog_new (const gchar *title, GtkWindow *pa
     gtk_box_pack_start (GTK_BOX (hbox), scrolled_window, TRUE, TRUE, 0);
 
     view = create_view_and_model (profiles);
-    gtk_widget_set_size_request (view, 400, -1);
+    gtk_widget_set_size_request (view, 400, 200);
     g_signal_connect (view, "row-activated", G_CALLBACK (row_activated_callback), NULL);
     gtk_container_add (GTK_CONTAINER (scrolled_window), view);
 
@@ -140,6 +140,7 @@ gboolean gnome_cmd_manage_profiles_dialog_new (const gchar *title, GtkWindow *pa
     g_signal_connect (button, "clicked", G_CALLBACK (remove_clicked_callback), view);
     gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
 
+#if 0
     {
         static GtkItemFactoryEntry items[] =
             {{N_("/Local path..."), NULL, (GtkItemFactoryCallback) import_clicked_callback, TRUE},
@@ -154,6 +155,7 @@ gboolean gnome_cmd_manage_profiles_dialog_new (const gchar *title, GtkWindow *pa
                                                        gtk_item_factory_get_widget (ifac, "<main>"));
         gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
     }
+#endif
 
     gtk_widget_show_all (GTK_DIALOG (dialog)->vbox);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]