[gnome-terminal/gnome-3-8] client: legacy: Accept name or UUID for --{window, tab}-with-profile (cherry picked from commit 7fcdd
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-8] client: legacy: Accept name or UUID for --{window, tab}-with-profile (cherry picked from commit 7fcdd
- Date: Tue, 7 May 2013 18:50:06 +0000 (UTC)
commit 274c4a77ac1098e5218085c180b4b290f9c125ac
Author: Christian Persch <chpe gnome org>
Date: Tue May 7 20:48:54 2013 +0200
client: legacy: Accept name or UUID for --{window,tab}-with-profile
(cherry picked from commit 7fcddcd2165d182db4b2ae2647689a7cd7dfc764)
src/terminal-options.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/terminal-options.c b/src/terminal-options.c
index 1393830..6e4c3fc 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -365,8 +365,8 @@ option_window_callback (const gchar *option_name,
TerminalOptions *options = data;
char *profile;
- profile = terminal_profiles_list_dup_uuid (terminal_options_ensure_profiles_list (options),
- value, error);
+ profile = terminal_profiles_list_dup_uuid_or_name (terminal_options_ensure_profiles_list (options),
+ value, error);
if (profile == NULL)
return FALSE;
@@ -384,8 +384,8 @@ option_tab_callback (const gchar *option_name,
TerminalOptions *options = data;
char *profile;
- profile = terminal_profiles_list_dup_uuid (terminal_options_ensure_profiles_list (options),
- value, error);
+ profile = terminal_profiles_list_dup_uuid_or_name (terminal_options_ensure_profiles_list (options),
+ value, error);
if (profile == NULL)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]