summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2bbaab)
raw | patch | inline | side by side (parent: c2bbaab)
author | bryce <bryce@users.sourceforge.net> | |
Wed, 21 Feb 2007 10:03:55 +0000 (10:03 +0000) | ||
committer | bryce <bryce@users.sourceforge.net> | |
Wed, 21 Feb 2007 10:03:55 +0000 (10:03 +0000) |
selected marker at the top of the menu shows as the selection.
src/dialogs/stroke-style.cpp | patch | blob | history |
index 0d22a90f7647ce3df824decbcf551ad40ffad750..d7827fdda40f18fd3fa36dc507a745a2bdffd2c4 100644 (file)
for (; kids != NULL; kids = kids->next) {
gchar *mark = (gchar *) g_object_get_data(G_OBJECT(kids->data), "marker");
if ( mark && strcmp(mark, markname) == 0 ) {
- if ( mark_is_stock && !strcmp((gchar *) g_object_get_data(G_OBJECT(kids->data), "stockid"), "true"))
- markpos = i;
- if ( !mark_is_stock && !strcmp((gchar *) g_object_get_data(G_OBJECT(kids->data), "stockid"), "false"))
- markpos = i;
+ markpos = i;
+ break;
}
i++;
}