summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 2387b46..d01fdd5 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -1852,11 +1852,8 @@ eom_window_get_exit_fullscreen_button (EomWindow *window)
{
GtkWidget *button;
- button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON,
- "label", "gtk-leave-fullscreen",
- "use-stock", TRUE,
- "use-underline", TRUE,
- NULL));
+ button = gtk_button_new_with_mnemonic (_("Leave Fullscreen"));
+ gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_icon_name ("view-restore", GTK_ICON_SIZE_BUTTON));
g_signal_connect (button, "clicked",
G_CALLBACK (exit_fullscreen_button_clicked_cb),