[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix typo detah -> detach

noreply at xfce.org noreply at xfce.org
Sat Jun 18 11:12:02 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit cf9b8e3d5522c4e7001c15426dff4df3264084c0
Author: Igor <f2404 at yandex.ru>
Date:   Sat Jun 18 12:12:04 2016 +0300

    Fix typo detah -> detach
---
 terminal/terminal-window.c | 6 +++---
 terminal/terminal-window.h | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 1df1ea7..e1fa5e3 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -364,7 +364,7 @@ terminal_window_init (TerminalWindow *window)
       G_CALLBACK (terminal_window_action_set_encoding), window);
 
   /* cache action pointers */
-  window->action_detah_tab = gtk_action_group_get_action (window->action_group, "detach-tab");
+  window->action_detach_tab = gtk_action_group_get_action (window->action_group, "detach-tab");
   window->action_close_tab = gtk_action_group_get_action (window->action_group, "close-tab");
   window->action_prev_tab = gtk_action_group_get_action (window->action_group, "prev-tab");
   window->action_next_tab = gtk_action_group_get_action (window->action_group, "next-tab");
@@ -662,8 +662,8 @@ terminal_window_update_actions (TerminalWindow *window)
   /* determine the number of pages */
   n_pages = gtk_notebook_get_n_pages (notebook);
 
-  /* "Detach Tab" is only sensitive if we have atleast two pages */
-  gtk_action_set_sensitive (window->action_detah_tab, (n_pages > 1));
+  /* "Detach Tab" is only sensitive if we have at least two pages */
+  gtk_action_set_sensitive (window->action_detach_tab, (n_pages > 1));
 
   /* always allow "Close Tab" action (bug 12490) */
   gtk_action_set_sensitive (window->action_close_tab, TRUE);
diff --git a/terminal/terminal-window.h b/terminal/terminal-window.h
index 7d5034f..ac20573 100644
--- a/terminal/terminal-window.h
+++ b/terminal/terminal-window.h
@@ -76,7 +76,7 @@ struct _TerminalWindow
   TerminalScreen      *active;
 
   /* cached actions to avoid lookups */
-  GtkAction           *action_detah_tab;
+  GtkAction           *action_detach_tab;
   GtkAction           *action_close_tab;
   GtkAction           *action_prev_tab;
   GtkAction           *action_next_tab;

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


More information about the Xfce4-commits mailing list