[gtk+] file chooser: Remove the search/browse buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser: Remove the search/browse buttons
- Date: Wed, 28 Jan 2015 21:32:31 +0000 (UTC)
commit 4ac57d4d4c8fced128228addc7a11b785ccb859e
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 28 15:37:53 2015 -0500
file chooser: Remove the search/browse buttons
Enabling search is now handled in the file chooser dialog,
so we don't need these buttons anymore.
gtk/ui/gtkfilechooserwidget.ui | 75 --------------------------------------
gtk/ui/gtkfilechooserwidget.ui.h | 3 --
2 files changed, 0 insertions(+), 78 deletions(-)
---
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui
index c550535..74eb287 100644
--- a/gtk/ui/gtkfilechooserwidget.ui
+++ b/gtk/ui/gtkfilechooserwidget.ui
@@ -102,31 +102,6 @@
<property name="position">1</property>
</packing>
</child>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="tooltip-text" translatable="yes">Search</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="search_button_clicked_cb" swapped="yes"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">edit-find-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
<packing>
<property name="name">pathbar</property>
@@ -139,31 +114,6 @@
<property name="no-show-all">True</property>
<property name="spacing">6</property>
<property name="border_width">6</property>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="tooltip-text" translatable="yes">Search</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="search_button_clicked_cb" swapped="yes"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">edit-find-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
<packing>
<property name="name">location</property>
@@ -183,31 +133,6 @@
<signal name="search-changed" handler="search_entry_activate_cb"
swapped="no"/>
</object>
</child>
- <child>
- <object class="GtkButton">
- <property name="visible">True</property>
- <property name="tooltip-text" translatable="yes">Browse</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="location_button_clicked_cb" swapped="true"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">folder-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
<packing>
<property name="name">search</property>
diff --git a/gtk/ui/gtkfilechooserwidget.ui.h b/gtk/ui/gtkfilechooserwidget.ui.h
index 5872a15..457ed05 100644
--- a/gtk/ui/gtkfilechooserwidget.ui.h
+++ b/gtk/ui/gtkfilechooserwidget.ui.h
@@ -1,7 +1,4 @@
N_("Create Folder");
-N_("Search");
-N_("Search");
-N_("Browse");
N_("Files");
N_("Name");
N_("Size");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]