[frogr] Removed unneeded code
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Removed unneeded code
- Date: Tue, 27 Nov 2012 10:49:12 +0000 (UTC)
commit 96dfa3b4bf1acbbe050bf8ed89c621cb72fa249c
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Fri Nov 23 19:06:09 2012 +0100
Removed unneeded code
src/frogr-main-view.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 31c5890..e8b14f1 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -109,7 +109,6 @@ typedef struct _FrogrMainViewPrivate {
GtkWidget *status_bar;
GtkWidget *accounts_menu_item;
GtkWidget *accounts_menu;
- GtkWidget *add_to_set_menu_item;
GtkWidget *pictures_ctxt_menu;
@@ -460,13 +459,6 @@ _initialize_ui (FrogrMainView *self)
priv->accounts_menu_item =
GTK_WIDGET (gtk_builder_get_object (builder, "accounts_menu_item"));
- /* "Add to set" menu needs to be assigned to a var so we control */
- /* its visibility directly because it has no action assigned to it */
-
- /* TODO */
- /* priv->add_to_set_menu_item = */
- /* GTK_WIDGET (gtk_builder_get_object (builder, "add_to_set_menu_item")); */
-
/* Populate accounts submenu from model */
_populate_accounts_submenu (self);
@@ -2130,7 +2122,6 @@ _update_sensitiveness (FrogrMainView *self)
/* gtk_action_set_sensitive (priv->add_to_set_action, FALSE); */
/* gtk_action_set_sensitive (priv->add_to_new_set_action, FALSE); */
/* gtk_widget_set_sensitive (priv->accounts_menu_item, FALSE); */
- /* gtk_widget_set_sensitive (priv->add_to_set_menu_item, FALSE); */
break;
case FROGR_STATE_IDLE:
@@ -2151,7 +2142,6 @@ _update_sensitiveness (FrogrMainView *self)
/* gtk_action_set_sensitive (priv->add_to_group_action, n_selected_pics > 0); */
/* gtk_action_set_sensitive (priv->add_to_set_action, n_selected_pics > 0); */
/* gtk_action_set_sensitive (priv->add_to_new_set_action, n_selected_pics > 0); */
- /* gtk_widget_set_sensitive (priv->add_to_set_menu_item, n_selected_pics > 0); */
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]