[gthumb] rename dialog: use symbolic icons
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] rename dialog: use symbolic icons
- Date: Sat, 28 Dec 2013 19:09:00 +0000 (UTC)
commit a6693153450a4ac280776aecb3e919948b5cc524
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Dec 28 20:05:52 2013 +0100
rename dialog: use symbolic icons
data/icons/hicolor/scalable/actions/Makefile.am | 1 +
.../hicolor/scalable/actions/edit-symbolic.svg | 113 +++++++++++++++++++
extensions/rename_series/data/ui/code-selector.ui | 115 +++++++++++++-------
extensions/rename_series/data/ui/rename-series.ui | 20 ++--
4 files changed, 197 insertions(+), 52 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/actions/Makefile.am b/data/icons/hicolor/scalable/actions/Makefile.am
index 2ce0adb..a9064b3 100644
--- a/data/icons/hicolor/scalable/actions/Makefile.am
+++ b/data/icons/hicolor/scalable/actions/Makefile.am
@@ -8,6 +8,7 @@ icons_DATA = \
change-date-symbolic.svg \
comment-symbolic.svg \
convert-format-symbolic.svg \
+ edit-symbolic.svg \
emblem-flag-blue.svg \
emblem-flag-gray.svg \
emblem-flag-green.svg \
diff --git a/data/icons/hicolor/scalable/actions/edit-symbolic.svg
b/data/icons/hicolor/scalable/actions/edit-symbolic.svg
new file mode 100644
index 0000000..78a4395
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/edit-symbolic.svg
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="edit-symbolic.svg">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3946">
+ <stop
+ id="stop3948"
+ offset="0"
+ style="stop-color:#000000;stop-opacity:0.74698794;" />
+ <stop
+ id="stop3950"
+ offset="1"
+ style="stop-color:#000000;stop-opacity:0.02409638;" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3830-9">
+ <stop
+ style="stop-color:#000000;stop-opacity:0.74698794;"
+ offset="0"
+ id="stop3832-7" />
+ <stop
+ style="stop-color:#000000;stop-opacity:0.02409638;"
+ offset="1"
+ id="stop3834-5" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3984">
+ <stop
+ style="stop-color:#f4deba;stop-opacity:1;"
+ offset="0"
+ id="stop3986" />
+ <stop
+ style="stop-color:#de9625;stop-opacity:0;"
+ offset="1"
+ id="stop3988" />
+ </linearGradient>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#555753"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:zoom="16.639604"
+ inkscape:cx="5.2849543"
+ inkscape:cy="3.6883815"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:snap-grids="false"
+ inkscape:window-width="1920"
+ inkscape:window-height="1134"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ showborder="true"
+ fit-margin-top="0"
+ fit-margin-right="0"
+ fit-margin-left="0"
+ fit-margin-bottom="0"
+ showguides="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid7044"
+ empspacing="8"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true"
+ originx="-31.97559px"
+ originy="-816.00002px" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Livello 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-31.97559,-220.36218)">
+ <path
+ style="fill:#bebebe;fill-opacity:1;stroke:none"
+ d="m 41.148832,222.52187 c -0.858936,-0.0281 -1.683881,0.31086 -2.283784,1.07582 -0.337768,0.43071
-0.514207,0.88199 -0.585102,1.34008 -0.02667,0.17236 -0.04566,0.33789 -0.03775,0.50961 0.002,0.0449
-0.0044,0.0874 0,0.13211 0.216095,1.01389 0.282714,2.10042 -0.232491,2.90385 -1.013894,1.28403
-1.968451,2.61547 -3.011277,3.87639 -0.149275,1.49303 0.493705,2.00895 2.044067,1.40576 l 2.955006,-4.03366 c
0.313569,-0.60461 1.170163,-0.81103 2.151665,-0.90596 0.780179,-0.0209 1.510231,-0.35938 2.057294,-1.05697
0.616644,-0.78631 0.747385,-1.67307 0.509604,-2.51027 l -2.151664,1.56656 c -1.423433,-0.20281
-2.368817,-0.79094 -1.849677,-2.71789 l 1.981796,-1.1702 c -0.497656,-0.25264 -1.032326,-0.39835
-1.547687,-0.41523 z"
+ id="path3950"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="csccccccccsccccc" />
+ </g>
+</svg>
diff --git a/extensions/rename_series/data/ui/code-selector.ui
b/extensions/rename_series/data/ui/code-selector.ui
index 4c2c726..46ed6b7 100644
--- a/extensions/rename_series/data/ui/code-selector.ui
+++ b/extensions/rename_series/data/ui/code-selector.ui
@@ -1,14 +1,49 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.1 -->
<interface>
- <requires lib="gtk+" version="2.16"/>
- <!-- interface-naming-policy project-wide -->
+ <requires lib="gtk+" version="3.10"/>
+ <object class="GtkTreeStore" id="attribute_treestore">
+ <columns>
+ <!-- column-name id -->
+ <column type="gchararray"/>
+ <!-- column-name name -->
+ <column type="gchararray"/>
+ <!-- column-name sort_order -->
+ <column type="gint"/>
+ </columns>
+ </object>
+ <object class="GtkListStore" id="date_format_liststore">
+ <columns>
+ <!-- column-name format -->
+ <column type="gchararray"/>
+ <!-- column-name name -->
+ <column type="gchararray"/>
+ </columns>
+ </object>
+ <object class="GtkAdjustment" id="enumerator_digits_adjustment">
+ <property name="lower">1</property>
+ <property name="upper">1000</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkListStore" id="type_liststore">
+ <columns>
+ <!-- column-name data -->
+ <column type="gpointer"/>
+ <!-- column-name name -->
+ <column type="gchararray"/>
+ </columns>
+ </object>
<object class="GtkHBox" id="code_selector">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="border_width">2</property>
<property name="spacing">6</property>
<child>
<object class="GtkComboBox" id="type_combobox">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="model">type_liststore</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext1"/>
@@ -19,6 +54,7 @@
</object>
<packing>
<property name="expand">False</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
@@ -28,17 +64,17 @@
<property name="can_focus">True</property>
<property name="show_tabs">False</property>
<property name="show_border">False</property>
- <property name="homogeneous">True</property>
<child>
<object class="GtkEntry" id="text_entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="invisible_char">●</property>
+ <property name="invisible_char">●</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
<packing>
<property name="tab_fill">False</property>
@@ -47,26 +83,30 @@
<child>
<object class="GtkHBox" id="hbox3">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<object class="GtkSpinButton" id="enumerator_digits_spinbutton">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="invisible_char">●</property>
+ <property name="invisible_char">●</property>
<property name="adjustment">enumerator_digits_adjustment</property>
</object>
<packing>
<property name="expand">False</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="label" translatable="yes">digits</property>
</object>
<packing>
<property name="expand">False</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -78,6 +118,7 @@
<child type="tab">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
<packing>
<property name="position">1</property>
@@ -87,6 +128,7 @@
<child>
<object class="GtkHBox" id="hbox1">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<child>
<placeholder/>
</child>
@@ -98,6 +140,7 @@
<child type="tab">
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
<packing>
<property name="position">2</property>
@@ -107,21 +150,25 @@
<child>
<object class="GtkHBox" id="hbox4">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">format:</property>
</object>
<packing>
<property name="expand">False</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="date_format_combobox">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="model">date_format_liststore</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
@@ -131,15 +178,19 @@
</child>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="custom_date_format_entry">
<property name="can_focus">True</property>
- <property name="invisible_char">●</property>
+ <property name="invisible_char">●</property>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
@@ -151,6 +202,7 @@
<child type="tab">
<object class="GtkLabel" id="label6">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
<packing>
<property name="position">3</property>
@@ -160,6 +212,7 @@
<child>
<object class="GtkComboBox" id="attribute_combobox">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="model">attribute_treestore</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext3"/>
@@ -175,6 +228,7 @@
<child type="tab">
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
</object>
<packing>
<property name="position">4</property>
@@ -183,12 +237,15 @@
</child>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox2">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="remove_button">
@@ -199,11 +256,14 @@
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
- <property name="stock">gtk-remove</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">list-remove-symbolic</property>
</object>
</child>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
@@ -216,52 +276,23 @@
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
- <property name="stock">gtk-add</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">list-add-symbolic</property>
</object>
</child>
</object>
<packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
+ <property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
- <object class="GtkListStore" id="type_liststore">
- <columns>
- <!-- column-name data -->
- <column type="gpointer"/>
- <!-- column-name name -->
- <column type="gchararray"/>
- </columns>
- </object>
- <object class="GtkListStore" id="date_format_liststore">
- <columns>
- <!-- column-name format -->
- <column type="gchararray"/>
- <!-- column-name name -->
- <column type="gchararray"/>
- </columns>
- </object>
- <object class="GtkAdjustment" id="enumerator_digits_adjustment">
- <property name="value">1</property>
- <property name="lower">1</property>
- <property name="upper">1000</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkTreeStore" id="attribute_treestore">
- <columns>
- <!-- column-name id -->
- <column type="gchararray"/>
- <!-- column-name name -->
- <column type="gchararray"/>
- <!-- column-name sort_order -->
- <column type="gint"/>
- </columns>
- </object>
</interface>
diff --git a/extensions/rename_series/data/ui/rename-series.ui
b/extensions/rename_series/data/ui/rename-series.ui
index 314c11a..31b3658 100644
--- a/extensions/rename_series/data/ui/rename-series.ui
+++ b/extensions/rename_series/data/ui/rename-series.ui
@@ -1,12 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.0 on Tue Nov 19 11:18:09 2013 -->
+<!-- Generated with glade 3.16.1 -->
<interface>
- <!-- interface-requires gtk+ 3.0 -->
+ <requires lib="gtk+" version="3.0"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="stock">gtk-ok</property>
</object>
+ <object class="GtkAdjustment" id="start_at_adjustment">
+ <property name="upper">1000000000</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
<object class="GtkDialog" id="rename_series_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
@@ -182,7 +188,7 @@
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">True</property>
- <property name="secondary_icon_stock">gtk-help</property>
+ <property name="secondary_icon_name">help-browser-symbolic</property>
<property name="secondary_icon_tooltip_text">Help</property>
</object>
<packing>
@@ -202,7 +208,7 @@
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-edit</property>
+ <property name="icon_name">edit-symbolic</property>
</object>
</child>
</object>
@@ -659,10 +665,4 @@
<widget name="template_label_box"/>
</widgets>
</object>
- <object class="GtkAdjustment" id="start_at_adjustment">
- <property name="upper">1000000000</property>
- <property name="value">1</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]