[chronojump] Menu: Added help/documents icon/code
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Menu: Added help/documents icon/code
- Date: Mon, 23 Mar 2020 11:54:08 +0000 (UTC)
commit a640c4c7d8fb37a5065ddcf78615bbb788d77dc5
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 23 12:53:12 2020 +0100
Menu: Added help/documents icon/code
glade/app1.glade | 31 ++++++++++++++++++++++++++++-
images/md/baseline_menu_book_blue_24dp.png | Bin 0 -> 3233 bytes
src/Makefile.am | 1 +
src/gui/app1/icons.cs | 2 ++
src/gui/app1/menu.cs | 2 ++
5 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index c827a8d5..e848649a 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1888,11 +1888,40 @@
<property name="spacing">4</property>
<child>
<widget class="GtkButton"
id="button_menu_help_documents">
- <property name="label"
translatable="yes">Documents</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_menuitem_manual_activate" swapped="no"/>
+ <child>
+ <widget class="GtkHBox" id="hbox378">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <widget class="GtkImage"
id="image_menu_help_documents">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel"
id="label_menu_help_documents">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label"
translatable="yes">Documents</property>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/images/md/baseline_menu_book_blue_24dp.png b/images/md/baseline_menu_book_blue_24dp.png
new file mode 100644
index 00000000..7f1cd516
Binary files /dev/null and b/images/md/baseline_menu_book_blue_24dp.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index e4d2292c..fab85a4a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -531,6 +531,7 @@ RESOURCES = \
../images/md/baseline_new_releases_blue_24dp.png,new.png \
../images/md/baseline_menu_blue_24dp.png,image_menu.png \
../images/md/baseline_apps_6_blue_24dp.png,image_modes.png \
+ ../images/md/baseline_menu_book_blue_24dp.png,image_book.png \
../images/md/baseline_keyboard_blue_24dp.png,image_keyboard.png \
../images/md/about.png,image_about.png \
../images/md/folders_blue.png,image_folders.png \
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index ec5c3f73..6e242254 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -280,6 +280,8 @@ public partial class ChronoJumpWindow
image_menu_folders.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_help.png");
image_menu_help.Pixbuf = pixbuf;
+ pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_book.png");
+ image_menu_help_documents.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_keyboard.png");
image_menu_help_accelerators.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_about.png");
diff --git a/src/gui/app1/menu.cs b/src/gui/app1/menu.cs
index 87e01dfb..cfc90114 100644
--- a/src/gui/app1/menu.cs
+++ b/src/gui/app1/menu.cs
@@ -64,6 +64,8 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Label label_menu_preferences;
[Widget] Gtk.Image image_menu_help;
[Widget] Gtk.Label label_menu_help;
+ [Widget] Gtk.Image image_menu_help_documents;
+ [Widget] Gtk.Label label_menu_help_documents;
[Widget] Gtk.Image image_menu_help_accelerators;
[Widget] Gtk.Label label_menu_help_accelerators;
[Widget] Gtk.Image image_menu_help_about;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]