diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-04-16 10:40:27 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2013-04-16 10:40:27 +1200 |
commit | 1b7533558f4ac87421160921eba2418179f6e09a (patch) | |
tree | df567b9fa2c4b36164b5f0534c14ce604666d029 | |
parent | c43f6f318a6bebf923fce55825a04cbd7e0483d5 (diff) | |
parent | 389e2e8bdeccc9b2696809bd4ceef43ebf0db2c8 (diff) | |
download | lightdm-1b7533558f4ac87421160921eba2418179f6e09a.tar.gz |
Merge with trunk
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | liblightdm-qt/Makefile.am | 1 | ||||
-rw-r--r-- | liblightdm-qt/QLightDM/greeter.h | 28 | ||||
-rw-r--r-- | liblightdm-qt/QLightDM/power.h | 2 | ||||
-rw-r--r-- | liblightdm-qt/QLightDM/sessionsmodel.h | 4 | ||||
-rw-r--r-- | liblightdm-qt/QLightDM/usersmodel.h | 4 | ||||
-rw-r--r-- | po/LINGUAS | 1 | ||||
-rw-r--r-- | po/ckb.po | 100 | ||||
-rw-r--r-- | tests/src/test-qt-greeter.h | 2 |
10 files changed, 125 insertions, 22 deletions
@@ -1,6 +1,7 @@ -Overview of changes in lightdm 1.5.4 +Overview of changes in lightdm 1.6.0 * Allow VNC command to be specified in lightdm.conf + * Register enums with QObject meta type system. Overview of changes in lightdm 1.5.3 diff --git a/configure.ac b/configure.ac index 614a940f..224b1bdf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(lightdm, 1.5.3) +AC_INIT(lightdm, 1.6.0) AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign]) diff --git a/liblightdm-qt/Makefile.am b/liblightdm-qt/Makefile.am index 3bb33b4a..7969458b 100644 --- a/liblightdm-qt/Makefile.am +++ b/liblightdm-qt/Makefile.am @@ -17,6 +17,7 @@ liblightdm_qt5_3_la_LIBADD = \ common_cflags = \ -I$(top_srcdir)/liblightdm-gobject \ $(LIBLIGHTDM_GOBJECT_CFLAGS) \ + -DQT_NO_KEYWORDS \ -DXSESSIONS_DIR=\"$(datadir)/xsessions\" liblightdm_qt_3_la_CXXFLAGS = \ $(LIBLIGHTDM_QT4_CFLAGS) \ diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h index 602c09c4..787485f4 100644 --- a/liblightdm-qt/QLightDM/greeter.h +++ b/liblightdm-qt/QLightDM/greeter.h @@ -24,19 +24,19 @@ class Q_DECL_EXPORT Greeter : public QObject { Q_OBJECT - Q_PROPERTY(bool authenticated READ isAuthenticated ); //NOTFIY authenticationComplete - Q_PROPERTY(QString authenticationUser READ authenticationUser ); - Q_PROPERTY(QString defaultSession READ defaultSessionHint CONSTANT); - Q_PROPERTY(QString selectUser READ selectUserHint CONSTANT); - Q_PROPERTY(bool selectGuest READ selectGuestHint CONSTANT); - - Q_PROPERTY(QString hostname READ hostname CONSTANT); - Q_PROPERTY(bool hasGuestAccount READ hasGuestAccountHint CONSTANT); - Q_PROPERTY(bool locked READ lockHint CONSTANT); + Q_PROPERTY(bool authenticated READ isAuthenticated ) //NOTFIY authenticationComplete + Q_PROPERTY(QString authenticationUser READ authenticationUser ) + Q_PROPERTY(QString defaultSession READ defaultSessionHint CONSTANT) + Q_PROPERTY(QString selectUser READ selectUserHint CONSTANT) + Q_PROPERTY(bool selectGuest READ selectGuestHint CONSTANT) + + Q_PROPERTY(QString hostname READ hostname CONSTANT) + Q_PROPERTY(bool hasGuestAccount READ hasGuestAccountHint CONSTANT) + Q_PROPERTY(bool locked READ lockHint CONSTANT) - Q_PROPERTY(QString hostname READ hostname CONSTANT); + Q_PROPERTY(QString hostname READ hostname CONSTANT) - Q_ENUMS(PromptType MessageType); + Q_ENUMS(PromptType MessageType) public: enum PromptType { @@ -70,7 +70,7 @@ public: QString authenticationUser() const; QString hostname() const; -public slots: +public Q_SLOTS: bool connectSync(); void authenticate(const QString &username=QString()); void authenticateAsGuest(); @@ -81,7 +81,7 @@ public slots: void setLanguage (const QString &language); bool startSessionSync(const QString &session=QString()); -signals: +Q_SIGNALS: void showMessage(QString text, QLightDM::Greeter::MessageType type); void showPrompt(QString text, QLightDM::Greeter::PromptType type); void authenticationComplete(); @@ -92,6 +92,6 @@ private: Q_DECLARE_PRIVATE(Greeter) }; -}; +} #endif // QLIGHTDM_GREETER_H diff --git a/liblightdm-qt/QLightDM/power.h b/liblightdm-qt/QLightDM/power.h index 8054bc67..44d9e2c4 100644 --- a/liblightdm-qt/QLightDM/power.h +++ b/liblightdm-qt/QLightDM/power.h @@ -44,6 +44,6 @@ namespace QLightDM PowerInterfacePrivate * const d; }; -}; +} #endif // QLIGHTDM_POWER_H diff --git a/liblightdm-qt/QLightDM/sessionsmodel.h b/liblightdm-qt/QLightDM/sessionsmodel.h index 79564cf3..77c81fb2 100644 --- a/liblightdm-qt/QLightDM/sessionsmodel.h +++ b/liblightdm-qt/QLightDM/sessionsmodel.h @@ -20,7 +20,7 @@ namespace QLightDM { { Q_OBJECT - Q_ENUMS(SessionModelRoles SessionType); + Q_ENUMS(SessionModelRoles SessionType) public: enum SessionModelRoles { @@ -48,6 +48,6 @@ namespace QLightDM { private: Q_DECLARE_PRIVATE(SessionsModel) }; -}; +} #endif // QLIGHTDM_SESSION_H diff --git a/liblightdm-qt/QLightDM/usersmodel.h b/liblightdm-qt/QLightDM/usersmodel.h index 72f8f601..d803c41c 100644 --- a/liblightdm-qt/QLightDM/usersmodel.h +++ b/liblightdm-qt/QLightDM/usersmodel.h @@ -24,7 +24,7 @@ class Q_DECL_EXPORT UsersModel : public QAbstractListModel { Q_OBJECT - Q_ENUMS(UserModelRoles); + Q_ENUMS(UserModelRoles) public: explicit UsersModel(QObject *parent = 0); @@ -52,6 +52,6 @@ private: }; -}; +} #endif // QLIGHTDM_USER_H @@ -11,6 +11,7 @@ br bs ca ca@valencia +ckb cs da de diff --git a/po/ckb.po b/po/ckb.po new file mode 100644 index 00000000..60a65217 --- /dev/null +++ b/po/ckb.po @@ -0,0 +1,100 @@ +# Kurdish (Sorani) translation for lightdm +# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 +# This file is distributed under the same license as the lightdm package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: lightdm\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2010-12-06 11:05+0000\n" +"PO-Revision-Date: 2013-04-14 06:40+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Kurdish (Sorani) <ckb@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2013-04-15 05:32+0000\n" +"X-Generator: Launchpad (build 16564)\n" + +#: ../greeters/gtk/lightdm-gtk-greeter.c:409 +msgid "Are you sure you want to close all programs and restart the computer?" +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:1 +msgid "Cancel" +msgstr "" + +#: ../greeters/gtk/lightdm-gtk-greeter.c:410 +msgid "Restart" +msgstr "" + +#: ../greeters/gtk/lightdm-gtk-greeter.c:434 +msgid "" +"Are you sure you want to close all programs and shutdown the computer?" +msgstr "" + +#: ../greeters/gtk/lightdm-gtk-greeter.c:435 +msgid "Shutdown" +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:4 +msgid "Large Font" +msgstr "" + +#: ../greeters/ldm-gtk-greeter.c:611 +msgid "High Constrast" +msgstr "" + +#: ../greeters/ldm-gtk-greeter.c:615 +msgid "Options" +msgstr "" + +#: ../greeters/ldm-gtk-greeter.c:620 +msgid "Language" +msgstr "" + +#: ../greeters/ldm-gtk-greeter.c:646 +msgid "Keyboard Layout" +msgstr "" + +#: ../greeters/ldm-gtk-greeter.c:668 +msgid "Session" +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:8 +msgid "Suspend" +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:2 +msgid "Hibernate" +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:6 +msgid "Restart..." +msgstr "" + +#: ../greeters/gtk/greeter.ui.h:7 +msgid "Shutdown..." +msgstr "" + +#. Description on how to use Light Display Manager displayed on command-line +#: ../src/lightdm.c:100 +#, c-format +msgid "" +"Usage:\n" +" %s - Display Manager" +msgstr "" + +#. Description on how to use Light Display Manager displayed on command-line +#: ../src/lightdm.c:106 +#, c-format +msgid "" +"Help Options:\n" +" -c, --config <file> Use configuration file\n" +" --pid-file <file> File to write PID into\n" +" -d, --debug Print debugging messages\n" +" --test-mode Run as unprivileged user\n" +" -v, --version Show release version\n" +" -h, --help Show help options" +msgstr "" diff --git a/tests/src/test-qt-greeter.h b/tests/src/test-qt-greeter.h index 222e40fa..99370996 100644 --- a/tests/src/test-qt-greeter.h +++ b/tests/src/test-qt-greeter.h @@ -7,7 +7,7 @@ class TestGreeter : public QLightDM::Greeter public: TestGreeter (); -private slots: +private Q_SLOTS: void showMessage(QString text, QLightDM::Greeter::MessageType type); void showPrompt(QString text, QLightDM::Greeter::PromptType type); void authenticationComplete(); |