[totem] main: Don't reset search-mode when going to player
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Don't reset search-mode when going to player
- Date: Fri, 31 Jan 2014 11:48:18 +0000 (UTC)
commit 734420027a1e9a88f98cee0596bbe4cb71c51381
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 31 12:47:31 2014 +0100
main: Don't reset search-mode when going to player
Otherwise we lose all the state of the current search
(entry content, title, and most importantly, results)
src/totem-object.c | 3 ---
src/totem-private.h | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 9d28fbe..981368d 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -869,7 +869,6 @@ totem_object_set_main_page (TotemObject *totem,
"title", &totem->title,
"subtitle", &totem->subtitle,
"search-string", &totem->search_string,
- "search-mode", &totem->search_mode,
"select-mode", &totem->select_mode,
"custom-title", &totem->custom_title,
NULL);
@@ -880,7 +879,6 @@ totem_object_set_main_page (TotemObject *totem,
"title", totem->player_title,
"subtitle", NULL,
"search-string", NULL,
- "search-mode", FALSE,
"select-mode", FALSE,
"custom-title", NULL,
NULL);
@@ -894,7 +892,6 @@ totem_object_set_main_page (TotemObject *totem,
"title", totem->title,
"subtitle", totem->subtitle,
"search-string", totem->search_string,
- "search-mode", totem->search_mode,
"select-mode", totem->select_mode,
"custom-title", totem->custom_title,
NULL);
diff --git a/src/totem-private.h b/src/totem-private.h
index f6cfbf7..8e72425 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -145,7 +145,6 @@ struct _TotemObject {
char *title;
char *subtitle;
char *search_string;
- gboolean search_mode;
gboolean select_mode;
GObject *custom_title;
GtkWidget *fullscreen_button;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]