[gnome-photos/wip/rishi/edit-mode: 21/26] Revert "preview-nav-buttons: Add buttons for using the Instagram operations"



commit cbb989d449aa1d6569a1d82ec46a9e66e8a748c4
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jun 1 08:39:15 2015 +0200

    Revert "preview-nav-buttons: Add buttons for using the Instagram operations"
    
    This reverts commit 38813d433baeaf0fbda5517987387b2fd2687e74.

 src/photos-preview-nav-buttons.c |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/photos-preview-nav-buttons.c b/src/photos-preview-nav-buttons.c
index 43d06d3..18bf3b6 100644
--- a/src/photos-preview-nav-buttons.c
+++ b/src/photos-preview-nav-buttons.c
@@ -33,7 +33,6 @@
 #include "photos-enums.h"
 #include "photos-icons.h"
 #include "photos-mode-controller.h"
-#include "photos-operation-insta-common.h"
 #include "photos-preview-model.h"
 #include "photos-preview-nav-buttons.h"
 #include "photos-search-context.h"
@@ -396,26 +395,6 @@ photos_preview_nav_buttons_constructed (GObject *object)
   gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.gray-current");
   gtk_box_pack_start (button_area, button, FALSE, FALSE, 0);
 
-  button = gtk_button_new_with_label (_("1977"));
-  gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.insta-current");
-  gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "n", (gint16) 
PHOTOS_OPERATION_INSTA_PRESET_1977);
-  gtk_box_pack_start (button_area, button, FALSE, FALSE, 0);
-
-  button = gtk_button_new_with_label (_("Brannan"));
-  gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.insta-current");
-  gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "n", (gint16) 
PHOTOS_OPERATION_INSTA_PRESET_BRANNAN);
-  gtk_box_pack_start (button_area, button, FALSE, FALSE, 0);
-
-  button = gtk_button_new_with_label (_("Gotham"));
-  gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.insta-current");
-  gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "n", (gint16) 
PHOTOS_OPERATION_INSTA_PRESET_GOTHAM);
-  gtk_box_pack_start (button_area, button, FALSE, FALSE, 0);
-
-  button = gtk_button_new_with_label (_("Nashville"));
-  gtk_actionable_set_action_name (GTK_ACTIONABLE (button), "app.insta-current");
-  gtk_actionable_set_action_target (GTK_ACTIONABLE (button), "n", (gint16) 
PHOTOS_OPERATION_INSTA_PRESET_NASHVILLE);
-  gtk_box_pack_start (button_area, button, FALSE, FALSE, 0);
-
   priv->prev_widget = gtk_revealer_new ();
   gtk_widget_set_halign (priv->prev_widget, GTK_ALIGN_START);
   gtk_widget_set_margin_start (priv->prev_widget, 30);


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