summaryrefslogtreecommitdiffstats
path: root/src/ege-adjustment-action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ege-adjustment-action.cpp')
-rw-r--r--src/ege-adjustment-action.cpp23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp
index 7f844ec4b..9491468dc 100644
--- a/src/ege-adjustment-action.cpp
+++ b/src/ege-adjustment-action.cpp
@@ -48,6 +48,7 @@
#include "icon-size.h"
#include "ege-adjustment-action.h"
#include "ui/widget/gimpspinscale.h"
+#include "ui/icon-names.h"
static void ege_adjustment_action_finalize( GObject* object );
@@ -81,11 +82,11 @@ enum {
/* TODO need to have appropriate icons setup for these: */
static const gchar *floogles[] = {
- GTK_STOCK_REMOVE,
- GTK_STOCK_ADD,
- GTK_STOCK_GO_DOWN,
- GTK_STOCK_ABOUT,
- GTK_STOCK_GO_UP,
+ INKSCAPE_ICON("list-remove"),
+ INKSCAPE_ICON("list-add"),
+ INKSCAPE_ICON("go-down"),
+ INKSCAPE_ICON("help-about"),
+ INKSCAPE_ICON("go-up"),
0};
typedef struct _EgeAdjustmentDescr EgeAdjustmentDescr;
@@ -982,7 +983,7 @@ static gboolean process_tab( GtkWidget* widget, int direction )
if ( mid && GTK_IS_TOOL_ITEM(mid->data) ) {
/* potential target */
GtkWidget* child = gtk_bin_get_child( GTK_BIN(mid->data) );
- if ( child && GTK_IS_HBOX(child) ) { /* could be ours */
+ if ( child && GTK_IS_BOX(child) ) { /* could be ours */
GList* subChildren = gtk_container_get_children( GTK_CONTAINER(child) );
if ( subChildren ) {
GList* last = g_list_last(subChildren);
@@ -1100,3 +1101,13 @@ gboolean keypress_cb( GtkWidget *widget, GdkEventKey *event, gpointer data )
return wasConsumed;
}
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :