]> Dogcows Code - chaz/tint2/commitdiff
cleanup
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 12 Jun 2010 22:17:45 +0000 (22:17 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 12 Jun 2010 22:17:45 +0000 (22:17 +0000)
src/tint2conf/CMakeLists.txt
src/tint2conf/main.c

index a9a8e2aa7aab454407ba28200d0c717d60ad7177..815c1b71c8c04e322d4907802f4418250d418d4c 100644 (file)
@@ -19,6 +19,7 @@ include_directories( ../util
 
 set(SOURCES ../util/common.c
             main.c
+            properties.c
             theme_view.c )
 add_executable( tint2conf ${SOURCES} )
 target_link_libraries( tint2conf ${X11_LIBRARIES}
index 617eed940c08f5e7ea446024f4f7f7e2bdb859ad..8193a73a7e7b3c4f0674993b86a728a97952bbf4 100644 (file)
@@ -33,6 +33,7 @@
 #endif
 #include "common.h"
 #include "theme_view.h"
+#include "properties.h"
 
 #define SNAPSHOT_TICK 190
 
@@ -105,8 +106,8 @@ static const char *global_ui =
        "    <toolitem action='ViewApply'/>"
        "  </toolbar>"
        "  <popup  name='ThemePopup'>"
-       "    <menuitem action='EditRefresh'/>"
        "    <menuitem action='ThemeProperties'/>"
+       "    <menuitem action='EditRefresh'/>"
        "    <menuitem action='ViewApply'/>"
        "    <separator/>"
        "    <menuitem action='ThemeDelete'/>"
@@ -339,6 +340,12 @@ static void menuProperties()
        sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(g_theme_view));
        if (gtk_tree_selection_get_selected(GTK_TREE_SELECTION(sel), &model, &iter)) {
                gtk_tree_model_get(model, &iter, COL_THEME_FILE, &file,  -1);
+/*
+               GtkWidget *prop;
+               prop = create_properties();
+               gtk_window_present(GTK_WINDOW(prop));
+               //printf("menuProperties : fin\n");
+*/             
 
                cmd = g_strdup_printf("%s \'%s\' &", g_cmd_property, file);
                printf("cmd %s\n", cmd);
@@ -346,6 +353,7 @@ static void menuProperties()
 
                g_free(cmd);
                g_free(file);
+               
        }
 }
 
This page took 0.029947 seconds and 4 git commands to generate.