aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-09 11:05:57 -0500
committerTed Gould <ted@gould.cx>2010-04-09 11:05:57 -0500
commit469cf99aba753cfab399c9834b37f92ddbf68560 (patch)
tree28459e6dc8d8ea9aac99324c993564d28e3d13d2 /src/dialog.c
parent791f0b47640052221f14439678c32efa3ba2f0dc (diff)
parent1ed276d9ef453783bcbc9361ec492b999321d8d8 (diff)
downloadayatana-indicator-session-469cf99aba753cfab399c9834b37f92ddbf68560.tar.gz
ayatana-indicator-session-469cf99aba753cfab399c9834b37f92ddbf68560.tar.bz2
ayatana-indicator-session-469cf99aba753cfab399c9834b37f92ddbf68560.zip
Import upstream version 0.2.8
Diffstat (limited to 'src/dialog.c')
-rw-r--r--src/dialog.c6
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) {