[gnome-applets] stickynotes: update last .ui file



commit 2a8a41c5f8cbd75b186d234639fe703c68327fc1
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Mar 26 13:53:31 2015 +0200

    stickynotes: update last .ui file

 stickynotes/Makefile.am                            |    2 +-
 .../{stickynotes.ui => stickynotes-note.ui}        |   27 +++++++++++++++----
 stickynotes/stickynotes.c                          |    2 +-
 3 files changed, 23 insertions(+), 8 deletions(-)
---
diff --git a/stickynotes/Makefile.am b/stickynotes/Makefile.am
index 35b4cf7..6d3c2ec 100644
--- a/stickynotes/Makefile.am
+++ b/stickynotes/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = help pixmaps
 
 ui_files = stickynotes-applet-menu.xml \
        stickynotes-note-menu.xml
-builder_files = stickynotes.ui \
+builder_files = stickynotes-note.ui \
        stickynotes-delete.ui \
        stickynotes-delete-all.ui \
        stickynotes-preferences.ui \
diff --git a/stickynotes/stickynotes.ui b/stickynotes/stickynotes-note.ui
similarity index 83%
rename from stickynotes/stickynotes.ui
rename to stickynotes/stickynotes-note.ui
index a45f2d9..dc3139b 100644
--- a/stickynotes/stickynotes.ui
+++ b/stickynotes/stickynotes-note.ui
@@ -1,16 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE gtk-builder SYSTEM "gtk-builder.dtd">
+<!-- Generated with glade 3.18.3 -->
 <interface>
-  <requires lib="gtk+" version="2.16"/>
-  <!-- interface-naming-policy toplevel-contextual -->
+  <requires lib="gtk+" version="3.12"/>
   <object class="GtkWindow" id="stickynote_window">
+    <property name="can_focus">False</property>
     <property name="title" translatable="yes">Sticky Note</property>
     <child>
-      <object class="GtkVBox" id="vbox10">
+      <object class="GtkBox" id="vbox10">
         <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
         <child>
-          <object class="GtkHBox" id="title_bar">
+          <object class="GtkBox" id="title_bar">
             <property name="visible">True</property>
+            <property name="can_focus">False</property>
             <child>
               <object class="GtkButton" id="lock_button">
                 <property name="can_focus">True</property>
@@ -20,6 +23,7 @@
                 <child>
                   <object class="GtkImage" id="lock_img">
                     <property name="visible">True</property>
+                    <property name="can_focus">False</property>
                     <property name="stock">gtk-missing-image</property>
                   </object>
                 </child>
@@ -33,11 +37,14 @@
             <child>
               <object class="GtkLabel" id="title_label">
                 <property name="visible">True</property>
+                <property name="can_focus">False</property>
                 <property name="xpad">2</property>
                 <property name="use_markup">True</property>
                 <property name="justify">center</property>
               </object>
               <packing>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
                 <property name="position">1</property>
               </packing>
             </child>
@@ -50,6 +57,7 @@
                 <child>
                   <object class="GtkImage" id="close_img">
                     <property name="visible">True</property>
+                    <property name="can_focus">False</property>
                     <property name="stock">gtk-missing-image</property>
                   </object>
                 </child>
@@ -84,18 +92,23 @@
             </child>
           </object>
           <packing>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
             <property name="position">1</property>
           </packing>
         </child>
         <child>
-          <object class="GtkHBox" id="resize_bar">
+          <object class="GtkBox" id="resize_bar">
+            <property name="can_focus">False</property>
             <child>
               <object class="GtkEventBox" id="resize_sw_box">
                 <property name="visible">True</property>
+                <property name="can_focus">False</property>
                 <property name="tooltip_text" translatable="yes">Resize note</property>
                 <child>
                   <object class="GtkImage" id="resize_sw_img">
                     <property name="visible">True</property>
+                    <property name="can_focus">False</property>
                     <property name="xalign">0</property>
                     <property name="yalign">1</property>
                     <property name="stock">gtk-missing-image</property>
@@ -111,10 +124,12 @@
             <child>
               <object class="GtkEventBox" id="resize_se_box">
                 <property name="visible">True</property>
+                <property name="can_focus">False</property>
                 <property name="tooltip_text" translatable="yes">Resize note</property>
                 <child>
                   <object class="GtkImage" id="resize_se_img">
                     <property name="visible">True</property>
+                    <property name="can_focus">False</property>
                     <property name="xalign">1</property>
                     <property name="yalign">1</property>
                     <property name="stock">gtk-missing-image</property>
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index 567502b..1a325c5 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -139,7 +139,7 @@ stickynote_new_aux (GdkScreen *screen, gint x, gint y, gint w, gint h)
        note = g_new (StickyNote, 1);
 
        builder = gtk_builder_new ();
-       gtk_builder_add_from_file (builder, GTK_BUILDERDIR "/stickynotes.ui", NULL);
+       gtk_builder_add_from_file (builder, GTK_BUILDERDIR "/stickynotes-note.ui", NULL);
        gtk_builder_add_from_file (builder, GTK_BUILDERDIR "/stickynotes-properties.ui", NULL);
 
        note->w_window = GTK_WIDGET (gtk_builder_get_object (builder, "stickynote_window"));


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