summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-08-01 22:45:08 +0200
committerSzymon Kłos <eszkadev@gmail.com>2016-08-01 22:45:52 +0200
commit5e668425035db2f0bb709e7a0c28549f6a609d20 (patch)
tree3ae7c98c0c2c92077aa31de186c73a2f984afcfc
parent28a63715f4434d39e90022f99bc2d88cea2dcd91 (diff)
GSoC notebookbar: writer ui improvements
Change-Id: Ib8d8dcaa1b6a1d22eaba5fad7e90719dfe6044b9
-rw-r--r--icon-themes/galaxy/sfx2/res/placeholder.pngbin0 -> 1050 bytes
-rw-r--r--sfx2/uiconfig/ui/notebookbar.ui26
-rw-r--r--sw/uiconfig/swriter/ui/notebookbar.ui82
3 files changed, 37 insertions, 71 deletions
diff --git a/icon-themes/galaxy/sfx2/res/placeholder.png b/icon-themes/galaxy/sfx2/res/placeholder.png
new file mode 100644
index 000000000000..6b9a19ea9092
--- /dev/null
+++ b/icon-themes/galaxy/sfx2/res/placeholder.png
Binary files differ
diff --git a/sfx2/uiconfig/ui/notebookbar.ui b/sfx2/uiconfig/ui/notebookbar.ui
index 1e8885b99795..a26b9f6c171f 100644
--- a/sfx2/uiconfig/ui/notebookbar.ui
+++ b/sfx2/uiconfig/ui/notebookbar.ui
@@ -2,6 +2,7 @@
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.12"/>
+ <requires lib="LibreOffice" version="1.0"/>
<object class="GtkGrid" id="NotebookBar">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -76,31 +77,6 @@
<property name="tab_fill">False</property>
</packing>
</child>
- <child>
- <object class="GtkBox" id="box3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">6</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Home</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="position">1</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
</object>
<packing>
<property name="expand">False</property>
diff --git a/sw/uiconfig/swriter/ui/notebookbar.ui b/sw/uiconfig/swriter/ui/notebookbar.ui
index 5558495d3fac..7c15f23ca47f 100644
--- a/sw/uiconfig/swriter/ui/notebookbar.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar.ui
@@ -109,6 +109,11 @@
<property name="can_focus">False</property>
<property name="pixbuf">cmd/lc_editheaderandfooter.png</property>
</object>
+ <object class="GtkImage" id="InsertPagebreakImg">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="pixbuf">cmd/lc_insertpagebreak.png</property>
+ </object>
<object class="GtkImage" id="InsertReferenceFieldImg">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -129,6 +134,11 @@
<property name="can_focus">False</property>
<property name="pixbuf">cmd/lc_showsinglepage.png</property>
</object>
+ <object class="GtkImage" id="PlaceholderImg">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="pixbuf">sfx2/res/placeholder.png</property>
+ </object>
<object class="GtkImage" id="PrintImg">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -373,6 +383,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:Signature</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
</object>
@@ -489,6 +500,7 @@
<property name="tooltip_text" translatable="yes">Clone Formatting</property>
<child>
<object class="vcllo-SmallButton" id="FormatPaintbrush">
+ <property name="label" translatable="yes">Clone</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -1106,6 +1118,7 @@
<object class="GtkBox" id="box31">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="spacing">6</property>
<child>
<object class="GtkSeparator" id="separator18">
<property name="visible">True</property>
@@ -1225,18 +1238,6 @@
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <object class="GtkSeparator" id="separator20">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="orientation">vertical</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="sfxlo-SidebarToolBox" id="line">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1385,6 +1386,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="StyleUpdateByExample">
+ <property name="label" translatable="yes">Update</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -1400,6 +1402,7 @@
</child>
<child>
<object class="GtkButton" id="StyleNewByExample">
+ <property name="label" translatable="yes">New</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -1523,45 +1526,20 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
- <object class="GtkBox" id="box78">
+ <object class="vcllo-SmallButton" id="InsertPagebreak">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkButton" id="TitlePageDialog">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="action_name">.uno:TitlePageDialog</property>
- <property name="relief">none</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="InsertPagebreak">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="action_name">.uno:InsertPagebreak</property>
- <property name="relief">none</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="action_name">.uno:InsertPagebreak</property>
+ <property name="image">InsertPagebreakImg</property>
+ <property name="relief">none</property>
+ <property name="image_position">top</property>
+ <property name="always_show_image">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">0</property>
</packing>
</child>
<style>
@@ -1641,6 +1619,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="tooltip_text" translatable="yes">Insert Audio or Video</property>
<property name="action_name">.uno:InsertAVMedia</property>
<property name="image">InsertAVMediaImg</property>
<property name="relief">none</property>
@@ -1669,9 +1648,11 @@
<property name="can_focus">False</property>
<child>
<object class="vcllo-SmallButton" id="Gallery">
+ <property name="label" translatable="yes">Gallery</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="tooltip_text" translatable="yes">Open Media Gallery</property>
<property name="action_name">.uno:Gallery</property>
<property name="image">GalleryImg</property>
<property name="relief">none</property>
@@ -2244,6 +2225,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:InsertBreak</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -2274,6 +2256,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:LineNumberingDialog</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -2655,6 +2638,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:BibliographyComponent</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -2884,6 +2868,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:WordCountDialog</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -2953,6 +2938,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:ShowAnnotations</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -3259,6 +3245,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:MergeDocuments</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -3334,6 +3321,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:PrintLayout</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -3350,6 +3338,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:BrowseView</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>
@@ -3661,6 +3650,7 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">.uno:HideWhitespace</property>
+ <property name="image">PlaceholderImg</property>
<property name="relief">none</property>
<property name="image_position">top</property>
<property name="always_show_image">True</property>