Browse Source

Closes #104: Opening toolbar buttons not seen (Arrow in the toolbar).

Kolan Sh 2 years ago
parent
commit
9aca644b7c
1 changed files with 25 additions and 13 deletions
  1. 25
    13
      ui/glade/laview-desktop.glade

+ 25
- 13
ui/glade/laview-desktop.glade View File

@@ -41,67 +41,79 @@
41 41
   <object class="GtkActionGroup" id="actiongroup_main">
42 42
     <child>
43 43
       <object class="GtkAction" id="action_new">
44
-        <property name="icon_name">drive-optical</property>
44
+        <property name="stock_id">gtk-new</property>
45 45
         <property name="always_show_image">True</property>
46 46
         <signal name="activate" handler="laview_desktop_main_window_action_new_activate" swapped="no"/>
47 47
       </object>
48 48
     </child>
49 49
     <child>
50 50
       <object class="GtkAction" id="action_open">
51
+        <property name="stock_id">gtk-open</property>
51 52
         <property name="always_show_image">True</property>
52 53
         <signal name="activate" handler="laview_desktop_main_window_action_open_activate" swapped="no"/>
53 54
       </object>
54 55
     </child>
55 56
     <child>
56 57
       <object class="GtkAction" id="action_edit_template">
58
+        <property name="label" translatable="yes">_Template</property>
59
+        <property name="stock_id">gtk-edit</property>
57 60
         <property name="always_show_image">True</property>
58 61
         <signal name="activate" handler="laview_desktop_main_window_action_edit_template_activate" swapped="no"/>
59 62
       </object>
60 63
     </child>
61 64
     <child>
62 65
       <object class="GtkAction" id="action_delete">
66
+        <property name="stock_id">gtk-delete</property>
63 67
         <property name="always_show_image">True</property>
64 68
         <signal name="activate" handler="laview_desktop_main_window_action_delete_activate" swapped="no"/>
65 69
       </object>
66 70
     </child>
67 71
     <child>
68 72
       <object class="GtkAction" id="action_prepare">
73
+        <property name="stock_id">gtk-properties</property>
69 74
         <property name="always_show_image">True</property>
70 75
         <signal name="activate" handler="laview_desktop_main_window_action_compose_activate" swapped="no"/>
71 76
       </object>
72 77
     </child>
73 78
     <child>
74 79
       <object class="GtkAction" id="action_print">
80
+        <property name="stock_id">gtk-print</property>
75 81
         <property name="always_show_image">True</property>
76 82
         <signal name="activate" handler="laview_desktop_main_window_action_print_activate" swapped="no"/>
77 83
       </object>
78 84
     </child>
79 85
     <child>
80 86
       <object class="GtkAction" id="action_ref">
87
+        <property name="stock_id">gtk-help</property>
81 88
         <property name="always_show_image">True</property>
82 89
         <signal name="activate" handler="laview_desktop_main_window_action_ref_activate" swapped="no"/>
83 90
       </object>
84 91
     </child>
85 92
     <child>
86 93
       <object class="GtkAction" id="action_preferences">
94
+        <property name="stock_id">gtk-preferences</property>
87 95
         <property name="always_show_image">True</property>
88 96
         <signal name="activate" handler="laview_desktop_main_window_action_preferences_activate" swapped="no"/>
89 97
       </object>
90 98
     </child>
91 99
     <child>
92 100
       <object class="GtkAction" id="action_edit_result">
101
+        <property name="label" translatable="yes">_Document</property>
102
+        <property name="stock_id">gtk-edit</property>
93 103
         <property name="always_show_image">True</property>
94 104
         <signal name="activate" handler="laview_desktop_main_window_action_edit_result_activate" swapped="no"/>
95 105
       </object>
96 106
     </child>
97 107
     <child>
98 108
       <object class="GtkAction" id="action_saveas">
109
+        <property name="stock_id">gtk-save</property>
99 110
         <property name="always_show_image">True</property>
100 111
         <signal name="activate" handler="laview_desktop_main_window_action_saveas_activate" swapped="no"/>
101 112
       </object>
102 113
     </child>
103 114
     <child>
104 115
       <object class="GtkAction" id="action_quit">
116
+        <property name="stock_id">gtk-quit</property>
105 117
         <property name="always_show_image">True</property>
106 118
         <signal name="activate" handler="laview_desktop_main_window_action_quit_activate" swapped="no"/>
107 119
       </object>
@@ -606,8 +618,8 @@
606 618
                         <property name="use_underline">True</property>
607 619
                         <property name="use_stock">True</property>
608 620
                         <property name="always_show_image">True</property>
609
-                        <accelerator key="h" signal="activate" modifiers="GDK_CONTROL_MASK"/>
610 621
                         <accelerator key="F1" signal="activate"/>
622
+                        <accelerator key="h" signal="activate" modifiers="GDK_CONTROL_MASK"/>
611 623
                       </object>
612 624
                     </child>
613 625
                     <child>
@@ -640,7 +652,7 @@
640 652
             <property name="toolbar_style">both</property>
641 653
             <child>
642 654
               <object class="GtkToolButton" id="toolbutton_new">
643
-                <property name="use_action_appearance">False</property>
655
+                <property name="use_action_appearance">True</property>
644 656
                 <property name="related_action">action_new</property>
645 657
                 <property name="visible">True</property>
646 658
                 <property name="can_focus">False</property>
@@ -655,7 +667,7 @@
655 667
             </child>
656 668
             <child>
657 669
               <object class="GtkToolButton" id="toolbutton_open">
658
-                <property name="use_action_appearance">False</property>
670
+                <property name="use_action_appearance">True</property>
659 671
                 <property name="related_action">action_open</property>
660 672
                 <property name="visible">True</property>
661 673
                 <property name="can_focus">False</property>
@@ -670,7 +682,7 @@
670 682
             </child>
671 683
             <child>
672 684
               <object class="GtkToolButton" id="toolbutton_edit_template">
673
-                <property name="use_action_appearance">False</property>
685
+                <property name="use_action_appearance">True</property>
674 686
                 <property name="related_action">action_edit_template</property>
675 687
                 <property name="visible">True</property>
676 688
                 <property name="can_focus">False</property>
@@ -686,7 +698,7 @@
686 698
             </child>
687 699
             <child>
688 700
               <object class="GtkToolButton" id="toolbutton_delete">
689
-                <property name="use_action_appearance">False</property>
701
+                <property name="use_action_appearance">True</property>
690 702
                 <property name="related_action">action_delete</property>
691 703
                 <property name="visible">True</property>
692 704
                 <property name="can_focus">False</property>
@@ -711,7 +723,7 @@
711 723
             </child>
712 724
             <child>
713 725
               <object class="GtkToolButton" id="toolbutton_prepare">
714
-                <property name="use_action_appearance">False</property>
726
+                <property name="use_action_appearance">True</property>
715 727
                 <property name="related_action">action_prepare</property>
716 728
                 <property name="visible">True</property>
717 729
                 <property name="can_focus">False</property>
@@ -726,7 +738,7 @@
726 738
             </child>
727 739
             <child>
728 740
               <object class="GtkToolButton" id="toolbutton_print">
729
-                <property name="use_action_appearance">False</property>
741
+                <property name="use_action_appearance">True</property>
730 742
                 <property name="related_action">action_print</property>
731 743
                 <property name="visible">True</property>
732 744
                 <property name="can_focus">False</property>
@@ -741,7 +753,7 @@
741 753
             </child>
742 754
             <child>
743 755
               <object class="GtkToolButton" id="toolbutton_edit_result">
744
-                <property name="use_action_appearance">False</property>
756
+                <property name="use_action_appearance">True</property>
745 757
                 <property name="related_action">action_edit_result</property>
746 758
                 <property name="visible">True</property>
747 759
                 <property name="can_focus">False</property>
@@ -757,7 +769,7 @@
757 769
             </child>
758 770
             <child>
759 771
               <object class="GtkToolButton" id="toolbutton_saveas">
760
-                <property name="use_action_appearance">False</property>
772
+                <property name="use_action_appearance">True</property>
761 773
                 <property name="related_action">action_saveas</property>
762 774
                 <property name="visible">True</property>
763 775
                 <property name="can_focus">False</property>
@@ -782,7 +794,7 @@
782 794
             </child>
783 795
             <child>
784 796
               <object class="GtkToolButton" id="toolbutton_preferences">
785
-                <property name="use_action_appearance">False</property>
797
+                <property name="use_action_appearance">True</property>
786 798
                 <property name="related_action">action_preferences</property>
787 799
                 <property name="visible">True</property>
788 800
                 <property name="can_focus">False</property>
@@ -797,7 +809,7 @@
797 809
             </child>
798 810
             <child>
799 811
               <object class="GtkToolButton" id="toolbutton_ref">
800
-                <property name="use_action_appearance">False</property>
812
+                <property name="use_action_appearance">True</property>
801 813
                 <property name="related_action">action_ref</property>
802 814
                 <property name="visible">True</property>
803 815
                 <property name="can_focus">False</property>
@@ -822,7 +834,7 @@
822 834
             </child>
823 835
             <child>
824 836
               <object class="GtkToolButton" id="toolbutton_quit">
825
-                <property name="use_action_appearance">False</property>
837
+                <property name="use_action_appearance">True</property>
826 838
                 <property name="related_action">action_quit</property>
827 839
                 <property name="visible">True</property>
828 840
                 <property name="can_focus">False</property>