From 973859c033713b36849cf5f4b5696f1b9acb98eb Mon Sep 17 00:00:00 2001 From: nyanpasu Date: Tue, 7 Apr 2015 01:30:07 +0800 Subject: [PATCH 01/18] Partial work Was too tired to continue Rewriting rssDialog Finish tomorrow on the commute. Rebase after done. --- assets/dialog_rss.ui | 363 +---------------------------- assets/window_main.ui | 17 ++ src/CMakeLists.txt | 4 +- src/core/{Base.cpp => GuiBase.cpp} | 2 +- src/core/{Base.hpp => GuiBase.hpp} | 0 src/gtk/Gtk.hpp | 4 +- src/gtk/GtkMainWindow.cpp | 50 ++-- src/gtk/GtkMainWindow.hpp | 9 +- src/gtk/GtkSettingsDialog.cpp | 1 - src/gtk/GtkTorrentSideBar.cpp | 6 +- src/gtk/GtkTorrentSideBar.hpp | 2 +- src/gtk/{ => rss}/GtkRSSDialog.cpp | 43 +--- src/gtk/{ => rss}/GtkRSSDialog.hpp | 0 13 files changed, 65 insertions(+), 436 deletions(-) rename src/core/{Base.cpp => GuiBase.cpp} (99%) rename src/core/{Base.hpp => GuiBase.hpp} (100%) rename src/gtk/{ => rss}/GtkRSSDialog.cpp (85%) rename src/gtk/{ => rss}/GtkRSSDialog.hpp (100%) diff --git a/assets/dialog_rss.ui b/assets/dialog_rss.ui index 2705062..1e42a8f 100644 --- a/assets/dialog_rss.ui +++ b/assets/dialog_rss.ui @@ -4,7 +4,7 @@ 1 False - False + True dialog True True @@ -32,6 +32,14 @@ end + + + Add + + + end + + @@ -39,8 +47,7 @@ vertical False - - 160 + False in @@ -55,356 +62,6 @@ 0 - - - False - True - - - False - start - 5 - - - False - vertical - - - False - Global Feeds - - - False - True - 0 - - - - - 144 - False - - - True - True - 1 - - - - - False - - - + - False - True - - - False - False - 0 - True - - - - - - - False - True - - - False - False - 1 - True - - - - - False - True - 2 - - - - - True - True - 0 - - - - - False - center - vertical - 30 - start - - - - False - True - - - False - True - 0 - True - - - - - - False - True - - - False - True - 1 - True - - - - - False - False - 1 - - - - - False - vertical - - - False - Active Feeds - - - False - True - 0 - - - - - 144 - False - - - True - True - 1 - - - - - False - vertical - - - False - vertical - - - - - - True - True - 0 - - - - - False - True - 2 - - - - - True - True - 2 - - - - - False - True - 0 - - - - - False - end - 15 - - - False - vertical - - - False - Filters - - - False - True - 0 - - - - - 144 - 131 - False - - - True - True - 1 - - - - - False - - - + - False - True - - - False - False - 0 - True - - - - - - - False - True - - - False - False - 1 - True - - - - - False - True - 2 - - - - - True - True - 0 - - - - - False - vertical - - - False - Functions - - - False - True - 0 - - - - - 144 - False - - - - - - True - True - 1 - - - - - False - - - + - False - True - - - False - False - 0 - True - - - - - - - False - True - - - False - False - 1 - True - - - - - False - True - 2 - - - - - True - True - 1 - - - - - False - True - 1 - - - - - False - True - start - 1 - - - - - Automaticaly add new items in this feed - - diff --git a/assets/window_main.ui b/assets/window_main.ui index 8ae59d3..433cb78 100644 --- a/assets/window_main.ui +++ b/assets/window_main.ui @@ -140,6 +140,23 @@ start + + + + + + 1 + preferences-system-symbolic + + + + + start + + + + + 1 + preferences-system-symbolic + + + + + start + + GTK_ORIENTATION_VERTICAL @@ -140,23 +156,6 @@ start - - - - - - 1 - preferences-system-symbolic - - - - - start - -