[gnome-todo] background: Remove frame properties



commit 06755dd71b467edb11e7f2cfe28d9b06ecd0bc0c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Apr 26 15:06:43 2020 -0300

    background: Remove frame properties

 plugins/background/gtd-plugin-background.c | 4 ++--
 plugins/background/ui/preferences.ui       | 9 +--------
 2 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/plugins/background/gtd-plugin-background.c b/plugins/background/gtd-plugin-background.c
index e3daeac..341330d 100644
--- a/plugins/background/gtd-plugin-background.c
+++ b/plugins/background/gtd-plugin-background.c
@@ -1,6 +1,6 @@
 /* gtd-plugin-background.c
  *
- * Copyright (C) 2017 Georges Basile Stavracas Neto <georges stavracas gmail com>
+ * Copyright (C) 2017-2020 Georges Basile Stavracas Neto <georges stavracas gmail com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -712,7 +712,7 @@ gtd_plugin_background_init (GtdPluginBackground *self)
   /* And the preferences panel */
   builder = gtk_builder_new_from_resource ("/org/gnome/todo/ui/background/preferences.ui");
 
-  self->preferences_panel = GTK_WIDGET (gtk_builder_get_object (builder, "main_frame"));
+  self->preferences_panel = GTK_WIDGET (gtk_builder_get_object (builder, "main_box"));
 
   g_settings_bind (self->settings,
                    "run-on-startup",
diff --git a/plugins/background/ui/preferences.ui b/plugins/background/ui/preferences.ui
index f1bd122..da760c7 100644
--- a/plugins/background/ui/preferences.ui
+++ b/plugins/background/ui/preferences.ui
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <requires lib="gtk+" version="3.20"/>
-  <object class="GtkFrame" id="main_frame">
-    <property name="shadow_type">none</property>
+  <object class="GtkBox" id="main_box">
     <child>
       <object class="GtkFrame">
         <property name="width_request">400</property>
@@ -127,13 +126,7 @@
             </child>
           </object>
         </child>
-        <child type="label_item">
-          <placeholder/>
-        </child>
       </object>
     </child>
-    <child type="label_item">
-      <placeholder/>
-    </child>
   </object>
 </interface>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]