[Xfce4-commits] [apps/xfce4-panel-profiles] 48/162: Add link to Help button, update translation template, bump version number to be ready for release

noreply at xfce.org noreply at xfce.org
Fri Jul 13 13:09:07 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-panel-profiles.

commit 329c7c2a35e62613cf63bd6ecad5bbc49c1ed65c
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Oct 6 21:10:56 2015 -0400

    Add link to Help button, update translation template, bump version number to be ready for release
---
 Makefile.in.in                      |  9 ++++++---
 NEWS                                |  9 +++++++++
 configure                           |  2 +-
 po/xfpanel-switch.pot               | 38 ++++++++++++++++++++++++-------------
 xfpanel-switch/xfpanel-switch.glade |  5 +++--
 xfpanel-switch/xfpanel-switch.py    |  6 ++++++
 6 files changed, 50 insertions(+), 19 deletions(-)

diff --git a/Makefile.in.in b/Makefile.in.in
index 4818f88..0247224 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -10,11 +10,14 @@ all: $(LANGUAGE_FILES) layouts
 	sed -e s,%prefix%,$(PREFIX), bin/$(APPNAME).in.in > bin/$(APPNAME).in
 	sed -e s,%python%,$(PYTHON), bin/$(APPNAME).in > bin/$(APPNAME)
 	chmod +x bin/$(APPNAME)
-	
+
 locale/%/LC_MESSAGES/$(APPNAME).mo: po/%.po
 	mkdir -p $(dir $@)
 	msgfmt $< -o $@
 
+pot:
+	cd po; intltool-update --pot --gettext-package=xfpanel-switch
+
 layouts:
 	cd data/layouts/gnome2; tar -cvjf "../GNOME 2.tar.bz2" *
 	cd data/layouts/redmond; tar -cvjf "../Redmond.tar.bz2" *
@@ -25,7 +28,7 @@ layouts:
 install: all
 	install -d $(DESTDIR)/$(PREFIX)/bin
 	install bin/$(APPNAME) $(DESTDIR)/$(PREFIX)/bin
-	
+
 	install -d $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/xfpanel-switch
 	install xfpanel-switch/panelconfig.py $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/xfpanel-switch
 	install xfpanel-switch/xfpanel-switch.py $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/xfpanel-switch
@@ -40,7 +43,7 @@ install: all
 
 	install -d $(DESTDIR)/$(PREFIX)/share/applications
 	install -m 644 $(APPNAME).desktop $(DESTDIR)/$(PREFIX)/share/applications
-	
+
 	install -d $(DESTDIR)/$(PREFIX)/share/xfpanel-switch
 	install -d $(DESTDIR)/$(PREFIX)/share/xfpanel-switch/layouts
 	install data/layouts/*.tar.bz2 $(DESTDIR)/$(PREFIX)/share/xfpanel-switch/layouts
diff --git a/NEWS b/NEWS
index 84b3841..af4ebf8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+xfpanel-switch 1.0.3
+
+    * Bugs Fixed
+      - Allow translation of missing messages (LP: #1497762)
+      - Correctly sort modification dates
+      - Set the save dialog parent to fix a runtime warning
+      - Add link to documentation when clicking Help
+    * Updated translation: French
+
 xfpanel-switch 1.0.2
 
     * Bugs Fixed
diff --git a/configure b/configure
index 1a3ec92..ece59ee 100755
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 APPNAME=xfpanel-switch
-VERSION=1.0.2
+VERSION=1.0.3
 
 PYTHON=python3
 
diff --git a/po/xfpanel-switch.pot b/po/xfpanel-switch.pot
index 4025155..889be93 100644
--- a/po/xfpanel-switch.pot
+++ b/po/xfpanel-switch.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-20 22:28-0400\n"
+"POT-Creation-Date: 2015-10-06 21:08-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -17,7 +17,7 @@ msgstr ""
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: ../xfpanel-switch.desktop.in.h:1 ../xfpanel-switch/xfpanel-switch.py:48
+#: ../xfpanel-switch.desktop.in.h:1 ../xfpanel-switch/xfpanel-switch.py:51
 msgid "Xfce Panel Switch"
 msgstr ""
 
@@ -44,7 +44,7 @@ msgid "Apply Configuration"
 msgstr ""
 
 #: ../xfpanel-switch/xfpanel-switch.glade.h:6
-#: ../xfpanel-switch/xfpanel-switch.py:250
+#: ../xfpanel-switch/xfpanel-switch.py:293
 msgid "Save Configuration"
 msgstr ""
 
@@ -65,8 +65,8 @@ msgid "Save panel configuration as..."
 msgstr ""
 
 #: ../xfpanel-switch/xfpanel-switch.glade.h:11
-#: ../xfpanel-switch/xfpanel-switch.py:73
-#: ../xfpanel-switch/xfpanel-switch.py:249
+#: ../xfpanel-switch/xfpanel-switch.py:85
+#: ../xfpanel-switch/xfpanel-switch.py:292
 msgid "Cancel"
 msgstr ""
 
@@ -74,36 +74,48 @@ msgstr ""
 msgid "<b>Name the new panel configuration</b>"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:68
+#: ../xfpanel-switch/xfpanel-switch.py:80
 msgid "Save"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:70
+#: ../xfpanel-switch/xfpanel-switch.py:82
 msgid "Open"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:158
+#: ../xfpanel-switch/xfpanel-switch.py:140
+msgid "Current Configuration"
+msgstr ""
+
+#: ../xfpanel-switch/xfpanel-switch.py:160
+msgid "Today"
+msgstr ""
+
+#: ../xfpanel-switch/xfpanel-switch.py:162
+msgid "Yesterday"
+msgstr ""
+
+#: ../xfpanel-switch/xfpanel-switch.py:187
 #, python-format
 msgid "%s (Copy of %s)"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:182
+#: ../xfpanel-switch/xfpanel-switch.py:211
 msgid "Export configuration as..."
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:183
+#: ../xfpanel-switch/xfpanel-switch.py:212
 msgid "Untitled"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:195
+#: ../xfpanel-switch/xfpanel-switch.py:224
 msgid "Import configuration file..."
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:242
+#: ../xfpanel-switch/xfpanel-switch.py:285
 msgid "Name the new panel configuration"
 msgstr ""
 
-#: ../xfpanel-switch/xfpanel-switch.py:266
+#: ../xfpanel-switch/xfpanel-switch.py:309
 #, python-format
 msgid "Backup_%s"
 msgstr ""
diff --git a/xfpanel-switch/xfpanel-switch.glade b/xfpanel-switch/xfpanel-switch.glade
index a9b3a1e..a05771f 100644
--- a/xfpanel-switch/xfpanel-switch.glade
+++ b/xfpanel-switch/xfpanel-switch.glade
@@ -260,11 +260,12 @@ Backup and restore your panel configuration</property>
                     <property name="can_focus">False</property>
                     <property name="margin_top">12</property>
                     <child>
-                      <object class="GtkButton" id="button1">
+                      <object class="GtkButton" id="help">
                         <property name="label">Help</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
+                        <signal name="clicked" handler="on_help_clicked" swapped="no"/>
                       </object>
                       <packing>
                         <property name="expand">True</property>
@@ -273,7 +274,7 @@ Backup and restore your panel configuration</property>
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkButton" id="button2">
+                      <object class="GtkButton" id="close">
                         <property name="label">_Close</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
diff --git a/xfpanel-switch/xfpanel-switch.py b/xfpanel-switch/xfpanel-switch.py
index 4ce9c11..96952ef 100644
--- a/xfpanel-switch/xfpanel-switch.py
+++ b/xfpanel-switch/xfpanel-switch.py
@@ -272,6 +272,12 @@ class XfpanelSwitch:
         '''Exit the application when the window is closed.'''
         Gtk.main_quit()
 
+    def on_help_clicked(self, *args):
+        '''Navigate to the application documentation on Help click.'''
+        screen = self.window.get_screen()
+        link = "https://wiki.smdavis.us/doku.php?id=xfpanel-switch-docs"
+        Gtk.show_uri(screen, link, Gtk.get_current_event_time())
+
 
 class PanelSaveDialog(Gtk.MessageDialog):
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list