[gnome-calendar/calendar-management] source-manager: add edit source popover



commit e525c4e57746903cb6b22ff82738f61d5579d9b4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Feb 3 15:52:52 2015 -0200

    source-manager: add edit source popover

 data/ui/menus.ui                 |   26 ++++++++++++++++++++++++++
 data/ui/source-manager-dialog.ui |    4 ++++
 2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/menus.ui b/data/ui/menus.ui
index 9dd2b13..e539562 100644
--- a/data/ui/menus.ui
+++ b/data/ui/menus.ui
@@ -59,4 +59,30 @@
       </item>
     </section>
   </menu>
+  <menu id="editsourcemenu">
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Show</attribute>
+        <attribute name="action">sources.show</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Default Calendar</attribute>
+        <attribute name="action">sources.set_default</attribute>
+      </item>
+    </section>
+    <section>
+      <item>
+        <attribute name="label" translatable="yes">Rename…</attribute>
+        <attribute name="action">sources.rename</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Change Color…</attribute>
+        <attribute name="action">sources.change_color</attribute>
+      </item>
+      <item>
+        <attribute name="label" translatable="yes">Remove</attribute>
+        <attribute name="action">sources.remove</attribute>
+      </item>
+    </section>
+  </menu>
 </interface>
diff --git a/data/ui/source-manager-dialog.ui b/data/ui/source-manager-dialog.ui
index f9b77c1..a198449 100644
--- a/data/ui/source-manager-dialog.ui
+++ b/data/ui/source-manager-dialog.ui
@@ -223,4 +223,8 @@
       </object>
     </child>
   </object>
+  <object class="GtkPopover" id="source_popover">
+    <property name="visible">True</property>
+    <property name="can_focus">False</property>
+  </object>
 </interface>


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