HIG-ified, replaced deprecated widget GtkCList by GtkTreeModel/View (also

* plug-ins/imagemap/imap_*.[ch]: (partly) HIG-ified, replaced
  deprecated widget GtkCList by GtkTreeModel/View (also fixes #136893),
  use file choosers instead of file selectors, minor clean-up.
This commit is contained in:
Maurits Rijk
2004-05-20 20:50:23 +00:00
parent 1f786473bc
commit f02a8b618b
25 changed files with 2426 additions and 2757 deletions

View File

@ -3,7 +3,7 @@
*
* Generates clickable image maps.
*
* Copyright (C) 1998-2002 Maurits Rijk lpeek.mrijk@consunet.nl
* Copyright (C) 1998-2004 Maurits Rijk m.rijk@chello.nl
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -28,24 +28,27 @@
#include "imap_object.h"
typedef struct {
GtkWidget *container;
GtkWidget *list;
GtkWidget *selected_child;
GtkWidget *arrow_up;
GtkWidget *arrow_down;
GtkWidget *remove;
GtkWidget *edit;
ObjectList_t *object_list;
gint selected_row;
gint nr_rows;
gboolean is_visible;
gboolean select_lock;
gboolean unselect_lock;
GtkListStore *store;
GtkTreeSelection *selection;
CommandFactory_t cmd_move_up;
CommandFactory_t cmd_move_down;
CommandFactory_t cmd_delete;
CommandFactory_t cmd_edit;
GtkWidget *container;
GtkWidget *list;
GtkWidget *selected_child;
GtkWidget *arrow_up;
GtkWidget *arrow_down;
GtkWidget *remove;
GtkWidget *edit;
ObjectList_t *object_list;
gint selected_row;
gint nr_rows;
gboolean is_visible;
gboolean select_lock;
gboolean doubleclick;
CommandFactory_t cmd_move_up;
CommandFactory_t cmd_move_down;
CommandFactory_t cmd_delete;
CommandFactory_t cmd_edit;
} Selection_t;
Selection_t *make_selection(ObjectList_t *list);