[longomatch] Remove the edit template button as it's not used currently. Use custom buttons for save/export/delet
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Remove the edit template button as it's not used currently. Use custom buttons for save/export/delet
- Date: Wed, 24 Sep 2014 20:25:55 +0000 (UTC)
commit 699d6e8806aca173b3791b60548d27eb87ceb66b
Author: Julien Moutte <julien fluendo com>
Date: Sun Sep 7 03:45:48 2014 +0200
Remove the edit template button as it's not used currently. Use custom buttons for save/export/delete
instead of stock icons.
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 11 +-
.../LongoMatch.Gui.Panel.ProjectsManagerPanel.cs | 206 +++++++-------------
LongoMatch.GUI/gtk-gui/gui.stetic | 64 +++----
.../scalable/actions/longomatch-project-delete.svg | 61 ++++++
4 files changed, 165 insertions(+), 177 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 4bd5bbe..a9ea448 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -47,6 +47,11 @@ namespace LongoMatch.Gui.Panel
this.DB = Config.DatabaseManager.ActiveDB;
this.gkit = Config.GUIToolkit;
this.Build ();
+
+ savebuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-save", 34,
IconLookupFlags.ForceSvg);
+ exportbuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-export", 34,
IconLookupFlags.ForceSvg);
+ deletebuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-project-delete", 34,
IconLookupFlags.ForceSvg);
+
notebook1.ShowTabs = false;
notebook1.ShowBorder = false;
projectlistwidget1.Fill (DB.GetAllProjects());
@@ -60,7 +65,6 @@ namespace LongoMatch.Gui.Panel
savebutton.Clicked += HandleSaveClicked;
exportbutton.Clicked += HandleExportClicked;
deletebutton.Clicked += HandleDeleteClicked;
- templatebutton.Clicked += HandleTeamTemplateClicked;
datepicker.ValueChanged += HandleDateChanged;
mediafilechooser.ChangedEvent += HandleFileChanged;
@@ -145,7 +149,6 @@ namespace LongoMatch.Gui.Panel
} else if (sender == visitorSpinButton) {
loadedProject.Description.VisitorGoals = (int) (sender as SpinButton).Value;
}
-
}
void HandleProjectsSelected (List<ProjectDescription> projects)
@@ -187,10 +190,6 @@ namespace LongoMatch.Gui.Panel
loadedProject.Description.MatchDate = datepicker.Date;
}
-
- void HandleTeamTemplateClicked (object sender, EventArgs e)
- {
- }
void HandleDeleteClicked (object sender, EventArgs e)
{
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
index 0a1e726..64cc76e 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Panel.ProjectsManagerPanel.cs
@@ -39,7 +39,6 @@ namespace LongoMatch.Gui.Panel
private global::Gtk.Label label9;
private global::Gtk.Entry seasonentry;
private global::Gtk.Label seasonlabel;
- private global::Gtk.Button templatebutton;
private global::Gtk.Label templatelabel;
private global::Gtk.Label GtkLabel3;
private global::Gtk.Frame frame3;
@@ -53,8 +52,11 @@ namespace LongoMatch.Gui.Panel
private global::Gtk.Label GtkLabel6;
private global::Gtk.HButtonBox hbuttonbox1;
private global::Gtk.Button savebutton;
+ private global::Gtk.Image savebuttonimage;
private global::Gtk.Button exportbutton;
+ private global::Gtk.Image exportbuttonimage;
private global::Gtk.Button deletebutton;
+ private global::Gtk.Image deletebuttonimage;
private global::Gtk.Label label1;
private global::Gtk.Label label3;
@@ -316,45 +318,16 @@ namespace LongoMatch.Gui.Panel
global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1
[this.seasonlabel]));
w23.XOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild
- this.templatebutton = new global::Gtk.Button ();
- this.templatebutton.CanFocus = true;
- this.templatebutton.Name = "templatebutton";
- this.templatebutton.UseUnderline = true;
- // Container child templatebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w24 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w25 = new global::Gtk.HBox ();
- w25.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w26 = new global::Gtk.Image ();
- w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit",
global::Gtk.IconSize.Menu);
- w25.Add (w26);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w28 = new global::Gtk.Label ();
- w28.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit template");
- w28.UseUnderline = true;
- w25.Add (w28);
- w24.Add (w25);
- this.templatebutton.Add (w24);
- this.table1.Add (this.templatebutton);
- global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatebutton]));
- w32.TopAttach = ((uint)(2));
- w32.BottomAttach = ((uint)(3));
- w32.LeftAttach = ((uint)(2));
- w32.RightAttach = ((uint)(3));
- w32.XOptions = ((global::Gtk.AttachOptions)(4));
- w32.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
this.templatelabel = new global::Gtk.Label ();
this.templatelabel.Name = "templatelabel";
this.table1.Add (this.templatelabel);
- global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatelabel]));
- w33.TopAttach = ((uint)(2));
- w33.BottomAttach = ((uint)(3));
- w33.LeftAttach = ((uint)(1));
- w33.RightAttach = ((uint)(2));
- w33.XOptions = ((global::Gtk.AttachOptions)(4));
- w33.YOptions = ((global::Gtk.AttachOptions)(4));
+ global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1
[this.templatelabel]));
+ w24.TopAttach = ((uint)(2));
+ w24.BottomAttach = ((uint)(3));
+ w24.LeftAttach = ((uint)(1));
+ w24.RightAttach = ((uint)(2));
+ w24.XOptions = ((global::Gtk.AttachOptions)(4));
+ w24.YOptions = ((global::Gtk.AttachOptions)(4));
this.GtkAlignment3.Add (this.table1);
this.frame4.Add (this.GtkAlignment3);
this.GtkLabel3 = new global::Gtk.Label ();
@@ -363,10 +336,10 @@ namespace LongoMatch.Gui.Panel
this.GtkLabel3.UseMarkup = true;
this.frame4.LabelWidget = this.GtkLabel3;
this.descbox.Add (this.frame4);
- global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame4]));
- w36.Position = 1;
- w36.Expand = false;
- w36.Fill = false;
+ global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame4]));
+ w27.Position = 1;
+ w27.Expand = false;
+ w27.Fill = false;
// Container child descbox.Gtk.Box+BoxChild
this.frame3 = new global::Gtk.Frame ();
this.frame3.Name = "frame3";
@@ -385,16 +358,16 @@ namespace LongoMatch.Gui.Panel
this.fileimage.HeightRequest = 100;
this.fileimage.Name = "fileimage";
this.hbox5.Add (this.fileimage);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox5
[this.fileimage]));
- w37.Position = 0;
- w37.Expand = false;
- w37.Fill = false;
+ global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox5
[this.fileimage]));
+ w28.Position = 0;
+ w28.Expand = false;
+ w28.Fill = false;
// Container child hbox5.Gtk.Box+BoxChild
this.vbox1 = new global::Gtk.VBox ();
this.vbox1.Name = "vbox1";
this.vbox1.Spacing = 6;
// Container child vbox1.Gtk.Box+BoxChild
- this.mediafilechooseralignment = new global::Gtk.Alignment (0F, 0.5F, 0F, 1F);
+ this.mediafilechooseralignment = new global::Gtk.Alignment (0F, 0.5F, 0.5F, 1F);
this.mediafilechooseralignment.Name = "mediafilechooseralignment";
// Container child mediafilechooseralignment.Gtk.Container+ContainerChild
this.mediafilechooser = new global::LongoMatch.Gui.Component.MediaFileChooser ();
@@ -403,10 +376,10 @@ namespace LongoMatch.Gui.Panel
this.mediafilechooser.MediaFileMode = true;
this.mediafilechooseralignment.Add (this.mediafilechooser);
this.vbox1.Add (this.mediafilechooseralignment);
- global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.mediafilechooseralignment]));
- w39.Position = 0;
- w39.Expand = false;
- w39.Fill = false;
+ global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.mediafilechooseralignment]));
+ w30.Position = 0;
+ w30.Expand = false;
+ w30.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.medialabel = new global::Gtk.Label ();
this.medialabel.Name = "medialabel";
@@ -415,11 +388,11 @@ namespace LongoMatch.Gui.Panel
this.medialabel.Ellipsize = ((global::Pango.EllipsizeMode)(3));
this.medialabel.MaxWidthChars = 50;
this.vbox1.Add (this.medialabel);
- global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.medialabel]));
- w40.Position = 1;
+ global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1
[this.medialabel]));
+ w31.Position = 1;
this.hbox5.Add (this.vbox1);
- global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox1]));
- w41.Position = 1;
+ global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox1]));
+ w32.Position = 1;
this.GtkAlignment8.Add (this.hbox5);
this.frame3.Add (this.GtkAlignment8);
this.GtkLabel6 = new global::Gtk.Label ();
@@ -428,105 +401,72 @@ namespace LongoMatch.Gui.Panel
this.GtkLabel6.UseMarkup = true;
this.frame3.LabelWidget = this.GtkLabel6;
this.descbox.Add (this.frame3);
- global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame3]));
- w44.Position = 2;
- w44.Expand = false;
- w44.Fill = false;
+ global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.descbox
[this.frame3]));
+ w35.Position = 2;
+ w35.Expand = false;
+ w35.Fill = false;
this.rbox.Add (this.descbox);
- global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.rbox [this.descbox]));
- w45.Position = 0;
+ global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.rbox [this.descbox]));
+ w36.Position = 0;
// Container child rbox.Gtk.Box+BoxChild
this.hbuttonbox1 = new global::Gtk.HButtonBox ();
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.savebutton = new global::Gtk.Button ();
+ this.savebutton.TooltipMarkup = "Save";
this.savebutton.Sensitive = false;
this.savebutton.CanFocus = true;
this.savebutton.Name = "savebutton";
- this.savebutton.UseUnderline = true;
// Container child savebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w46 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w47 = new global::Gtk.HBox ();
- w47.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w48 = new global::Gtk.Image ();
- w48.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save",
global::Gtk.IconSize.Dialog);
- w47.Add (w48);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w50 = new global::Gtk.Label ();
- w50.LabelProp = global::Mono.Unix.Catalog.GetString ("Save");
- w50.UseUnderline = true;
- w47.Add (w50);
- w46.Add (w47);
- this.savebutton.Add (w46);
+ this.savebuttonimage = new global::Gtk.Image ();
+ this.savebuttonimage.Name = "savebuttonimage";
+ this.savebutton.Add (this.savebuttonimage);
+ this.savebutton.Label = null;
this.hbuttonbox1.Add (this.savebutton);
- global::Gtk.ButtonBox.ButtonBoxChild w54 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.savebutton]));
- w54.Expand = false;
- w54.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w38 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.savebutton]));
+ w38.Expand = false;
+ w38.Fill = false;
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.exportbutton = new global::Gtk.Button ();
+ this.exportbutton.TooltipMarkup = "Export";
this.exportbutton.Sensitive = false;
this.exportbutton.CanFocus = true;
this.exportbutton.Name = "exportbutton";
- this.exportbutton.UseUnderline = true;
// Container child exportbutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w55 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w56 = new global::Gtk.HBox ();
- w56.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w57 = new global::Gtk.Image ();
- w57.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save-as",
global::Gtk.IconSize.Dialog);
- w56.Add (w57);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w59 = new global::Gtk.Label ();
- w59.LabelProp = global::Mono.Unix.Catalog.GetString ("Export");
- w59.UseUnderline = true;
- w56.Add (w59);
- w55.Add (w56);
- this.exportbutton.Add (w55);
+ this.exportbuttonimage = new global::Gtk.Image ();
+ this.exportbuttonimage.Name = "exportbuttonimage";
+ this.exportbutton.Add (this.exportbuttonimage);
+ this.exportbutton.Label = null;
this.hbuttonbox1.Add (this.exportbutton);
- global::Gtk.ButtonBox.ButtonBoxChild w63 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.exportbutton]));
- w63.Position = 1;
- w63.Expand = false;
- w63.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w40 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.exportbutton]));
+ w40.Position = 1;
+ w40.Expand = false;
+ w40.Fill = false;
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.deletebutton = new global::Gtk.Button ();
+ this.deletebutton.TooltipMarkup = "Delete";
this.deletebutton.Sensitive = false;
this.deletebutton.CanFocus = true;
this.deletebutton.Name = "deletebutton";
- this.deletebutton.UseUnderline = true;
// Container child deletebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w64 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w65 = new global::Gtk.HBox ();
- w65.Spacing = 2;
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w66 = new global::Gtk.Image ();
- w66.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete",
global::Gtk.IconSize.Dialog);
- w65.Add (w66);
- // Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w68 = new global::Gtk.Label ();
- w68.LabelProp = global::Mono.Unix.Catalog.GetString ("Delete");
- w68.UseUnderline = true;
- w65.Add (w68);
- w64.Add (w65);
- this.deletebutton.Add (w64);
+ this.deletebuttonimage = new global::Gtk.Image ();
+ this.deletebuttonimage.Name = "deletebuttonimage";
+ this.deletebutton.Add (this.deletebuttonimage);
+ this.deletebutton.Label = null;
this.hbuttonbox1.Add (this.deletebutton);
- global::Gtk.ButtonBox.ButtonBoxChild w72 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.deletebutton]));
- w72.Position = 2;
- w72.Expand = false;
- w72.Fill = false;
+ global::Gtk.ButtonBox.ButtonBoxChild w42 =
((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.deletebutton]));
+ w42.Position = 2;
+ w42.Expand = false;
+ w42.Fill = false;
this.rbox.Add (this.hbuttonbox1);
- global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.hbuttonbox1]));
- w73.Position = 1;
- w73.Expand = false;
- w73.Fill = false;
+ global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.rbox
[this.hbuttonbox1]));
+ w43.Position = 1;
+ w43.Expand = false;
+ w43.Fill = false;
this.hbox4.Add (this.rbox);
- global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.rbox]));
- w74.Position = 1;
- w74.Expand = false;
- w74.Fill = false;
+ global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.rbox]));
+ w44.Position = 1;
+ w44.Expand = false;
+ w44.Fill = false;
this.notebook1.Add (this.hbox4);
// Notebook tab
this.label1 = new global::Gtk.Label ();
@@ -534,17 +474,17 @@ namespace LongoMatch.Gui.Panel
this.notebook1.SetTabLabel (this.hbox4, this.label1);
this.label1.ShowAll ();
// Notebook tab
- global::Gtk.Label w76 = new global::Gtk.Label ();
- w76.Visible = true;
- this.notebook1.Add (w76);
+ global::Gtk.Label w46 = new global::Gtk.Label ();
+ w46.Visible = true;
+ this.notebook1.Add (w46);
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
- this.notebook1.SetTabLabel (w76, this.label3);
+ this.notebook1.SetTabLabel (w46, this.label3);
this.label3.ShowAll ();
this.contentalignment.Add (this.notebook1);
this.vbox3.Add (this.contentalignment);
- global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.contentalignment]));
- w78.Position = 1;
+ global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox3
[this.contentalignment]));
+ w48.Position = 1;
this.Add (this.vbox3);
if ((this.Child != null)) {
this.Child.ShowAll ();
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index 041e38c..e9af8d1 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -8951,6 +8951,9 @@ You can continue with the current capture, cancel it or save your project.
<placeholder />
</child>
<child>
+ <placeholder />
+ </child>
+ <child>
<widget class="Gtk.Entry" id="competitionentry">
<property name="MemberName" />
<property name="CanFocus">True</property>
@@ -9177,31 +9180,6 @@ You can continue with the current capture, cancel it or save your project.
</packing>
</child>
<child>
- <widget class="Gtk.Button" id="templatebutton">
- <property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-edit Menu</property>
- <property name="Label" translatable="yes">Edit
template</property>
- <property name="UseUnderline">True</property>
- </widget>
- <packing>
- <property name="TopAttach">2</property>
- <property name="BottomAttach">3</property>
- <property name="LeftAttach">2</property>
- <property name="RightAttach">3</property>
- <property name="AutoSize">True</property>
- <property name="XOptions">Fill</property>
- <property name="YOptions">Fill</property>
- <property name="XExpand">False</property>
- <property name="XFill">True</property>
- <property name="XShrink">False</property>
- <property name="YExpand">False</property>
- <property name="YFill">True</property>
- <property name="YShrink">False</property>
- </packing>
- </child>
- <child>
<widget class="Gtk.Label" id="templatelabel">
<property name="MemberName" />
</widget>
@@ -9277,7 +9255,7 @@ You can continue with the current capture, cancel it or save your project.
<child>
<widget class="Gtk.Alignment" id="mediafilechooseralignment">
<property name="MemberName" />
- <property name="Xscale">0</property>
+ <property name="Xscale">0.5</property>
<property name="Xalign">0</property>
<child>
<widget class="LongoMatch.Gui.Component.MediaFileChooser"
id="mediafilechooser">
@@ -9349,11 +9327,14 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Button" id="savebutton">
<property name="MemberName" />
<property name="Sensitive">False</property>
+ <property name="Tooltip" translatable="yes">Save</property>
<property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save Dialog</property>
- <property name="Label" translatable="yes">Save</property>
- <property name="UseUnderline">True</property>
+ <property name="Type">Custom</property>
+ <child>
+ <widget class="Gtk.Image" id="savebuttonimage">
+ <property name="MemberName" />
+ </widget>
+ </child>
</widget>
<packing>
<property name="Expand">False</property>
@@ -9364,11 +9345,14 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Button" id="exportbutton">
<property name="MemberName" />
<property name="Sensitive">False</property>
+ <property name="Tooltip" translatable="yes">Export</property>
<property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-save-as Dialog</property>
- <property name="Label" translatable="yes">Export</property>
- <property name="UseUnderline">True</property>
+ <property name="Type">Custom</property>
+ <child>
+ <widget class="Gtk.Image" id="exportbuttonimage">
+ <property name="MemberName" />
+ </widget>
+ </child>
</widget>
<packing>
<property name="Position">1</property>
@@ -9380,11 +9364,15 @@ You can continue with the current capture, cancel it or save your project.
<widget class="Gtk.Button" id="deletebutton">
<property name="MemberName" />
<property name="Sensitive">False</property>
+ <property name="Tooltip">Delete</property>
<property name="CanFocus">True</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-delete Dialog</property>
- <property name="Label">Delete</property>
- <property name="UseUnderline">True</property>
+ <property name="Type">Custom</property>
+ <child>
+ <widget class="Gtk.Image" id="deletebuttonimage">
+ <property name="MemberName" />
+ <property name="Tooltip" translatable="yes" />
+ </widget>
+ </child>
</widget>
<packing>
<property name="Position">2</property>
diff --git a/data/icons/hicolor/scalable/actions/longomatch-project-delete.svg
b/data/icons/hicolor/scalable/actions/longomatch-project-delete.svg
new file mode 100644
index 0000000..6066725
--- /dev/null
+++ b/data/icons/hicolor/scalable/actions/longomatch-project-delete.svg
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+
+<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"
+ version="1.1"
+ id="Layer_1"
+ x="0px"
+ y="0px"
+ width="36px"
+ height="36px"
+ viewBox="13.49 0 36 36"
+ enable-background="new 13.49 0 36 36"
+ xml:space="preserve"
+ inkscape:version="0.48.4 r9939"
+ sodipodi:docname="longomatch-project-delete.svg"><metadata
+ id="metadata15"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+ id="defs13" /><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="640"
+ inkscape:window-height="480"
+ id="namedview11"
+ showgrid="false"
+ inkscape:zoom="6.5555556"
+ inkscape:cx="18"
+ inkscape:cy="18"
+ inkscape:window-x="55"
+ inkscape:window-y="228"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="g4" /><path
+ id="plus_12_"
+ fill="#6A6A6A"
+ d="M1730.626,833.451c-0.297,0-0.535-0.238-0.535-0.535v-5.23h-5.229
c-0.297,0-0.537-0.24-0.537-0.535v-3.461c0-0.297,0.24-0.535,0.537-0.535h5.229v-5.23c0-0.299,0.238-0.537,0.535-0.537h3.461
c0.296,0,0.536,0.238,0.536,0.537v5.23h5.229c0.297,0,0.537,0.238,0.537,0.535v3.461c0,0.295-0.24,0.535-0.537,0.535h-5.229v5.23
c0,0.297-0.24,0.535-0.536,0.535H1730.626z" /><g
+ id="g4"><path
+ fill="#6A6A6A"
+ d="M24.937,8.2h3.015v6.553l3.539,1.802l3.451-1.802V8.2h3.102c0.177,0,0.338-0.107,0.403-0.269
c0.021-0.056,0.035-0.113,0.035-0.167c0-0.116-0.046-0.226-0.129-0.311L31.8,1.337c-0.086-0.086-0.199-0.126-0.31-0.126
c-0.112,0-0.224,0.04-0.31,0.126l-6.553,6.116c-0.084,0.084-0.129,0.194-0.129,0.311c0,0.055,0.011,0.111,0.033,0.167
C24.601,8.093,24.759,8.2,24.937,8.2z"
+ id="path6" /><path
+ d="m 27.606017,24.116882 2.268746,-2.135594 4.118644,-3.641627 C 35.039231,17.414963 37.265,17.029
38.66,17.029 l 3.351,0 0,-3.652 c 0,-0.252 -0.14,-0.478 -0.363,-0.591 l -5.345,-2.721 0.03,2.733 3.047,1.524
-7.89,3.909 -7.89,-3.909 3.048,-1.524 -0.012,-2.733 -5.304,2.721 c -0.222,0.113 -0.363,0.339 -0.363,0.591 l
0,9.781 c 0,0.251 0.142,0.478 0.363,0.59 l 4.505729,2.285864 0.610169,-0.759864 c 0.874063,-1.088499
0.142348,-0.200963 1.158119,-1.157118 z"
+ id="path8"
+ inkscape:connector-curvature="0"
+ style="fill:#6a6a6a"
+ sodipodi:nodetypes="scsscscccccccccssccss" /></g><path
+ id="delete_2_"
+ d="m 47.615746,19.121042 h -12.718 c -0.178,0 -0.349,0.071 -0.475,0.195 l -7.362,7.363 c -0.26,0.263
-0.26,0.686 0,0.947 l 7.362,7.363 c 0.126,0.125 0.297,0.195 0.475,0.195 h 12.719 c 0.369,0 0.667,-0.301
0.667,-0.671 v -14.724 c -10e-4,-0.368 -0.298,-0.668 -0.668,-0.668 z m -2.225,12.141 -1.028,1.026 c
-0.282,0.285 -0.74,0.285 -1.027,0 l -3.083,-3.082 -3.084,3.084 c -0.284,0.285 -0.743,0.285 -1.029,0 l
-1.027,-1.028 c -0.285,-0.286 -0.281,-0.744 0,-1.026 l 3.087,-3.085 -3.089,-3.083 c -0.283,-0.285
-0.283,-0.747 0,-1.028 l 1.028,-1.027 c 0.287,-0.284 0.744,-0.284 1.026,0 l 3.088,3.082 3.083,-3.082 c
0.285,-0.284 0.745,-0.284 1.027,0 l 1.028,1.027 c 0.285,0.281 0.285,0.742 0,1.028 l -3.084,3.083 3.084,3.082
c 0.286,0.284 0.286,0.743 0,1.029 z"
+ inkscape:connector-curvature="0"
+ style="fill:#c42527" /></svg>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]