diff options
author | Ted Gould <ted@gould.cx> | 2010-04-06 22:26:24 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-06 22:26:24 -0500 |
commit | 9449b85d675c8dffbbff932197413924bda088e5 (patch) | |
tree | 6beb5b81d69e7356ab466abfdab07e84f0fc05c0 /src/dialog.c | |
parent | 56a250cf8262579d749a71bde854da390fcc29e2 (diff) | |
parent | e822834a58b32ebf9ecc85a2e2dc159d416ec3ed (diff) | |
download | ayatana-indicator-session-9449b85d675c8dffbbff932197413924bda088e5.tar.gz ayatana-indicator-session-9449b85d675c8dffbbff932197413924bda088e5.tar.bz2 ayatana-indicator-session-9449b85d675c8dffbbff932197413924bda088e5.zip |
* Upstream Merge
* Changing 'Sleep' to 'Suspend' (LP: #547102)
* Fixing translations helper text (LP: #547131)
* Passing correct object to callback (LP: #543393)
* Ignoring malformed message (LP: #548620)
Diffstat (limited to 'src/dialog.c')
-rw-r--r-- | src/dialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialog.c b/src/dialog.c index fba8013..51b1682 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -174,7 +174,7 @@ logout_dialog_new (LogoutDialogType type) "icon-name", icon_strings[type], "modal", TRUE, "resizable", FALSE, - "title", _(title_strings[type]), + "title", g_dpgettext2 (NULL, "title", title_strings[type]), "window-position", GTK_WIN_POS_CENTER_ALWAYS, /* Message Dialog */ "buttons", GTK_BUTTONS_NONE, @@ -197,9 +197,9 @@ logout_dialog_new (LogoutDialogType type) const gchar * button_text; if (allowed) { - button_text = _(button_strings[type]); + button_text = g_dpgettext2 (NULL, "button", button_strings[type]); } else { - button_text = _(button_auth_strings[type]); + button_text = g_dpgettext2 (NULL, "button auth", button_auth_strings[type]); } if (restart_required) { |