[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Add set_do_fadeout to the header file
This is an automated email from the git hooks/post-receive script. ochosi pushed a commit to branch master in repository apps/xfce4-notifyd. commit 95e7cc2bffd8d36e48969295598cccb2b8140445 Author: Simon SteinbeissDate: Thu Aug 11 00:25:15 2016 +0200 Add set_do_fadeout to the header file --- xfce4-notifyd/xfce-notify-window.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xfce4-notifyd/xfce-notify-window.h b/xfce4-notifyd/xfce-notify-window.h index c35ab83..139f6f8 100644 --- a/xfce4-notifyd/xfce-notify-window.h +++ b/xfce4-notifyd/xfce-notify-window.h @@ -97,6 +97,9 @@ void xfce_notify_window_set_gauge_value(XfceNotifyWindow *window, gint value); void xfce_notify_window_unset_gauge_value(XfceNotifyWindow *window); +void xfce_notify_window_set_do_fadeout(XfceNotifyWindow *window, + gboolean do_fadeout); + /* signal trigger */ void xfce_notify_window_closed(XfceNotifyWindow *window, XfceNotifyCloseReason reason); -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-notifyd] branch master updated (dbf814e -> 95e7cc2)
This is an automated email from the git hooks/post-receive script. ochosi pushed a change to branch master in repository apps/xfce4-notifyd. from dbf814e I18n: Update translation hr (100%). new 95e7cc2 Add set_do_fadeout to the header file The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: xfce4-notifyd/xfce-notify-window.h | 3 +++ 1 file changed, 3 insertions(+) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-terminal] branch master updated (9d4f048 -> e127a50)
This is an automated email from the git hooks/post-receive script. f2404 pushed a change to branch master in repository apps/xfce4-terminal. from 9d4f048 I18n: Update translation zh_CN (100%). new e127a50 Do not un-close tab that was detached to create another window The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: terminal/terminal-window.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-terminal] 01/01: Do not un-close tab that was detached to create another window
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 e127a502110f55e3c95be3a91ca85db24dbc02c1 Author: IgorDate: Wed Aug 10 15:17:03 2016 +0300 Do not un-close tab that was detached to create another window --- terminal/terminal-window.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c index 62fbafb..6603692 100644 --- a/terminal/terminal-window.c +++ b/terminal/terminal-window.c @@ -963,7 +963,7 @@ terminal_window_notebook_page_removed (GtkNotebook *notebook, } /* store info on the tab being closed */ - tab_info = g_malloc (sizeof (TerminalWindowTabInfo)); + tab_info = g_new (TerminalWindowTabInfo, 1); tab_info->position = page_num; tab_info->working_directory = g_strdup (terminal_screen_get_working_directory (TERMINAL_SCREEN (child))); window->closed_tabs_list = g_list_append (window->closed_tabs_list, tab_info); @@ -1238,6 +1238,7 @@ terminal_window_notebook_create_window (GtkNotebook *notebook, TerminalWindow *window) { TerminalScreen *screen; + GList *link; terminal_return_val_if_fail (TERMINAL_IS_WINDOW (window), NULL); terminal_return_val_if_fail (TERMINAL_IS_SCREEN (child), NULL); @@ -1264,6 +1265,14 @@ terminal_window_notebook_create_window (GtkNotebook *notebook, /* release our reference */ g_object_unref (G_OBJECT (screen)); + + /* erase last closed tabs entry as we don't want it on detach */ + link = g_list_last (window->closed_tabs_list); + window->closed_tabs_list = g_list_remove_link (window->closed_tabs_list, link); + terminal_window_tab_info_free (link->data); + g_list_free (link); + /* and update action to make the undo action inactive */ + terminal_window_update_actions (window); } return NULL; -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-terminal] 01/01: I18n: Update translation zh_CN (100%).
This is an automated email from the git hooks/post-receive script. transifex pushed a commit to branch master in repository apps/xfce4-terminal. commit 9d4f048d3a512338adbd755917e03e88261d07a4 Author: 玉堂白鹤Date: Wed Aug 10 12:30:58 2016 +0200 I18n: Update translation zh_CN (100%). 314 translated messages. Transifex (https://www.transifex.com/projects/p/xfce/). --- po/zh_CN.po | 224 +++- 1 file changed, 116 insertions(+), 108 deletions(-) diff --git a/po/zh_CN.po b/po/zh_CN.po index 7d7914d..7fd35ac 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -14,9 +14,9 @@ msgid "" msgstr "" "Project-Id-Version: Xfce Apps\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-25 18:30+0200\n" -"PO-Revision-Date: 2016-08-07 08:01+\n" -"Last-Translator: Mingcong Bai \n" +"POT-Creation-Date: 2016-08-08 18:31+0200\n" +"PO-Revision-Date: 2016-08-10 06:58+\n" +"Last-Translator: 玉堂白鹤 \n" "Language-Team: Chinese (China) (http://www.transifex.com/xfce/xfce-apps/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -167,102 +167,102 @@ msgstr "请向 <%s> 报告缺陷。" msgid "Unable to register terminal service: %s\n" msgstr "未能注册终端服务:%s\n" -#: ../terminal/terminal-app.c:780 +#: ../terminal/terminal-app.c:816 #, c-format msgid "Invalid geometry string \"%s\"\n" msgstr "无效的几何属性字符串 “%s”\n" -#: ../terminal/terminal-encoding-action.c:70 +#: ../terminal/terminal-encoding-action.c:69 msgid "Western European" msgstr "西欧" -#: ../terminal/terminal-encoding-action.c:71 +#: ../terminal/terminal-encoding-action.c:70 msgid "Central European" msgstr "中欧" -#: ../terminal/terminal-encoding-action.c:72 +#: ../terminal/terminal-encoding-action.c:71 msgid "Baltic" msgstr "波罗的海语系" -#: ../terminal/terminal-encoding-action.c:73 +#: ../terminal/terminal-encoding-action.c:72 msgid "South-Eastern Europe" msgstr "东南欧" -#: ../terminal/terminal-encoding-action.c:74 +#: ../terminal/terminal-encoding-action.c:73 msgid "Turkish" msgstr "土耳其语" -#: ../terminal/terminal-encoding-action.c:75 +#: ../terminal/terminal-encoding-action.c:74 msgid "Cyrillic" msgstr "西里尔文" -#: ../terminal/terminal-encoding-action.c:76 +#: ../terminal/terminal-encoding-action.c:75 msgid "Chinese Traditional" msgstr "繁体中文" -#: ../terminal/terminal-encoding-action.c:77 +#: ../terminal/terminal-encoding-action.c:76 msgid "Chinese Simplified" msgstr "简体中文" -#: ../terminal/terminal-encoding-action.c:78 +#: ../terminal/terminal-encoding-action.c:77 msgid "Korean" msgstr "韩文" -#: ../terminal/terminal-encoding-action.c:79 +#: ../terminal/terminal-encoding-action.c:78 msgid "Japanese" msgstr "日文" -#: ../terminal/terminal-encoding-action.c:80 +#: ../terminal/terminal-encoding-action.c:79 msgid "Greek" msgstr "希腊语" -#: ../terminal/terminal-encoding-action.c:81 +#: ../terminal/terminal-encoding-action.c:80 msgid "Arabic" msgstr "阿拉伯语" -#: ../terminal/terminal-encoding-action.c:82 +#: ../terminal/terminal-encoding-action.c:81 msgid "Hebrew" msgstr "希伯来文" -#: ../terminal/terminal-encoding-action.c:83 +#: ../terminal/terminal-encoding-action.c:82 msgid "Thai" msgstr "泰语" -#: ../terminal/terminal-encoding-action.c:84 +#: ../terminal/terminal-encoding-action.c:83 msgid "Vietnamese" msgstr "越南语" -#: ../terminal/terminal-encoding-action.c:85 +#: ../terminal/terminal-encoding-action.c:84 msgid "Nordic" msgstr "北欧语" -#: ../terminal/terminal-encoding-action.c:86 +#: ../terminal/terminal-encoding-action.c:85 msgid "Celtic" msgstr "凯尔特语" -#: ../terminal/terminal-encoding-action.c:87 +#: ../terminal/terminal-encoding-action.c:86 msgid "Romanian" msgstr "罗马尼亚语" -#: ../terminal/terminal-encoding-action.c:88 +#: ../terminal/terminal-encoding-action.c:87 msgid "Armenian" msgstr "亚美尼亚语" -#: ../terminal/terminal-encoding-action.c:89 +#: ../terminal/terminal-encoding-action.c:88 msgid "Georgian" msgstr "乔治亚语" -#: ../terminal/terminal-encoding-action.c:90 +#: ../terminal/terminal-encoding-action.c:89 msgid "Unicode" msgstr "Unicode" -#: ../terminal/terminal-encoding-action.c:91 +#: ../terminal/terminal-encoding-action.c:90 msgid "Other" msgstr "其他" #. action to reset to the default -#: ../terminal/terminal-encoding-action.c:269 -#: ../terminal/terminal-encoding-action.c:398 +#: ../terminal/terminal-encoding-action.c:268 +#: ../terminal/terminal-encoding-action.c:397 #, c-format msgid "Default (%s)" msgstr "默认 (%s)" @@ -379,25 +379,25 @@ msgstr "图片文件" msgid "Load Presets..." msgstr "载入预设..." -#: ../terminal/terminal-preferences.c:902 +#: ../terminal/terminal-preferences.c:929 msgid "Terminal" msgstr "Terminal 终端" -#: ../terminal/terminal-screen.c:389 ../terminal/terminal-screen.c:689 -#: ../terminal/terminal-screen.c:1876 +#: ../terminal/terminal-screen.c:392 ../terminal/terminal-screen.c:692 +#: ../terminal/terminal-screen.c:1904 msgid
[Xfce4-commits] [apps/xfce4-terminal] branch master updated (5690e3b -> 9d4f048)
This is an automated email from the git hooks/post-receive script. transifex pushed a change to branch master in repository apps/xfce4-terminal. from 5690e3b Correctly update window actions after un-closing a tab new 9d4f048 I18n: Update translation zh_CN (100%). The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: po/zh_CN.po | 224 +++- 1 file changed, 116 insertions(+), 108 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-terminal] 01/01: Correctly update window actions after un-closing a tab
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 5690e3be1951a274af2c322ca1f31d25490e3c36 Author: IgorDate: Wed Aug 10 12:02:37 2016 +0300 Correctly update window actions after un-closing a tab --- terminal/terminal-window.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c index 8e69571..62fbafb 100644 --- a/terminal/terminal-window.c +++ b/terminal/terminal-window.c @@ -1370,22 +1370,25 @@ terminal_window_action_undo_close_tab (GtkAction *action, terminal = g_object_new (TERMINAL_TYPE_SCREEN, NULL); - terminal_window_add (window, TERMINAL_SCREEN (terminal)); - if (G_LIKELY (window->closed_tabs_list != NULL)) { - /* set working directory and position of the last closed tab */ + /* get info on the last closed tab and remove it from the list */ link = g_list_last (window->closed_tabs_list); + window->closed_tabs_list = g_list_remove_link (window->closed_tabs_list, link); + + /* set info to the new tab */ tab_info = (TerminalWindowTabInfo *) link->data; + terminal_window_add (window, TERMINAL_SCREEN (terminal)); terminal_screen_set_working_directory (TERMINAL_SCREEN (terminal), tab_info->working_directory); gtk_notebook_reorder_child (GTK_NOTEBOOK (window->notebook), terminal, tab_info->position); - /* remove it from the list */ - window->closed_tabs_list = g_list_remove_link (window->closed_tabs_list, link); + /* free info */ terminal_window_tab_info_free (tab_info); g_list_free (link); } + else +terminal_window_add (window, TERMINAL_SCREEN (terminal)); terminal_screen_launch_child (TERMINAL_SCREEN (terminal)); } -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] [apps/xfce4-terminal] branch master updated (9d55530 -> 5690e3b)
This is an automated email from the git hooks/post-receive script. f2404 pushed a change to branch master in repository apps/xfce4-terminal. from 9d55530 I18n: Update translation nl (100%). new 5690e3b Correctly update window actions after un-closing a tab The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: terminal/terminal-window.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) -- To stop receiving notification emails like this one, please contact the administrator of this repository. ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits