aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shortcuts-view.c17
2 files changed, 19 insertions, 6 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index b4b33ed195..827917697d 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,11 @@
+2000-07-16 Damon Chaplin <damon@helixcode.com>
+
+ * e-shortcuts-view.c (e_shortcuts_view_construct): created a model
+ for the EShortcutBar. This will probably have to be moved to support
+ multiple views.
+ (class_init): #if'd out overriding the class functions. They don't
+ exist any more (they are in the model instead).
+
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* main.c: Fixed to match gconf API change.
diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c
index e5184129f6..fdef7b9933 100644
--- a/shell/e-shortcuts-view.c
+++ b/shell/e-shortcuts-view.c
@@ -109,7 +109,7 @@ load_group (EShortcutsView *shortcuts_view,
}
name = e_folder_get_name (folder);
- e_shortcut_bar_add_item (E_SHORTCUT_BAR (shortcuts_view), group_num, uri, name);
+ e_shortcut_model_add_item (E_SHORTCUT_BAR (shortcuts_view)->model, group_num, -1, uri, name);
}
e_free_string_list (shortcut_list);
@@ -132,8 +132,8 @@ load_all_shortcuts (EShortcutsView *shortcuts_view,
const char *group_title;
group_title = (const char *) p->data;
- group_num = e_shortcut_bar_add_group (E_SHORTCUT_BAR (shortcuts_view),
- group_title);
+ group_num = e_shortcut_model_add_group (E_SHORTCUT_BAR (shortcuts_view)->model,
+ -1, group_title);
load_group (shortcuts_view, shortcuts, group_title, group_num);
}
@@ -321,8 +321,9 @@ remove_shortcut_cb (GtkWidget *widget,
e_shortcuts_remove_shortcut (shortcuts, menu_data->group_num, menu_data->item_num);
/* FIXME not real model-view. */
- e_shortcut_bar_remove_item (E_SHORTCUT_BAR (shortcuts_view),
- menu_data->group_num, menu_data->item_num);
+ e_shortcut_model_remove_item (E_SHORTCUT_BAR (shortcuts_view)->model,
+ menu_data->group_num,
+ menu_data->item_num);
}
static GnomeUIInfo shortcut_right_click_menu_uiinfo[] = {
@@ -507,11 +508,12 @@ class_init (EShortcutsViewClass *klass)
shortcut_bar_class = E_SHORTCUT_BAR_CLASS (klass);
shortcut_bar_class->selected_item = selected_item;
+#if 0
shortcut_bar_class->added_item = added_item;
shortcut_bar_class->removed_item = removed_item;
shortcut_bar_class->added_group = added_group;
shortcut_bar_class->removed_group = removed_group;
-
+#endif
parent_class = gtk_type_class (e_shortcut_bar_get_type ());
signals[ACTIVATE_SHORTCUT] =
@@ -550,6 +552,9 @@ e_shortcuts_view_construct (EShortcutsView *shortcuts_view,
priv = shortcuts_view->priv;
+ e_shortcut_bar_set_model (E_SHORTCUT_BAR (shortcuts_view),
+ e_shortcut_model_new ());
+
e_shortcut_bar_set_icon_callback (E_SHORTCUT_BAR (shortcuts_view), icon_callback,
shortcuts);
* - fix order in USESdinoex2014-08-041-1/+1 * Stage x11-clocks/intclockmarino2014-07-311-9/+13 * Convert some more USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-1/+1 * Convert a bunch of EXTRACT_SUFX=... into USES=tar:...adamw2014-07-302-4/+2 * Convert a bunch of USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-2/+1 * Rename all patches that contain '::' as a path separator, and useadamw2014-07-301-0/+0 * Rename x11-*/ patch-xy patches to reflect the files they modify.adamw2014-07-3015-5/+3 * Update to 2.41.wxs2014-07-152-3/+3 * Remove NOPORTDOCS.adamw2014-07-052-5/+5 * Remove expired ports:rene2014-07-056-104/+0 * - USES=libtool tar:bzip2tijl2014-07-022-5/+4 * - USES=libtool tar:bzip2tijl2014-07-022-5/+4 * Stagify.vanilla2014-07-011-14/+12 * 1: Stagify.vanilla2014-07-012-7/+6 * Stagify.vanilla2014-07-011-3/+2 * Reset maintainer, email bouncesantoine2014-06-281-1/+1 * - Marked BROKEN, since no public distfilesxride2014-06-261-2/+4 * Remove IS_INTERACTIVE.kuriyama2014-06-241-8/+1 * Deprecate unmaintained interactive ports for removal in 2 monthsmarino2014-06-211-0/+3 * Stagefydaichi2014-06-133-149/+124 * - Stagify.kuriyama2014-06-092-6/+4 * - Update to 1.6.0olivierd2014-06-063-5/+12 * - Convert misc/xosd and dependent ports which need it (deskutils/xneur, polis...amdmi32014-05-271-2/+2 * - Fix build on -currentmiwi2014-05-174-47/+61 * Convert x11-toolkits/unique to "USES=libtool pathfix tar:bzip2".tijl2014-05-131-1/+1 * KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!makc2014-05-114-8/+8 * - Fix build on i386miwi2014-04-294-48/+26 * The FreeBSD x11@ and graphics team proudly presentszeising2014-04-179-9/+9 * KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!makc2014-04-038-16/+12 * KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!makc2014-03-054-8/+8 * - Update MASTER_SITESmiwi2014-02-272-20/+16 * x11-clocks/wmfuzzy: Update at 1 hertz instead of 10 khzmarino2014-02-262-4/+15 * Remove trailing whitespaces from category x11-clocksehaupt2014-02-212-2/+2 * - Bump PORTREVISION after KDE4_PREFIX changemakc2014-02-182-1/+2 * KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-1817-61/+128 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-102-0/+6 * - Fix make stage [1]novel2014-02-061-1/+2 * - Support STAGEDIRolivierd2014-01-297-12/+15 * - Stagify, convert to OptionsNG, remove check for alpha (unsupported)danfe2014-01-282-34/+14 * Fix properties on pkg-plistbapt2014-01-222-2/+0 * Reduce over inclusion of bsd.port.mkbapt2014-01-171-6/+2 * Support stagedir.vanilla2014-01-1133-117/+124 * - Convert to USES=tkgahr2014-01-102-13/+3 * - Fix build with clangantoine2014-01-091-2/+3 * - Fix pkg-plistjhale2014-01-021-5/+0 * Stage supportantoine2013-12-302-6/+4 * Stage supportantoine2013-12-291-4/+3 * Stage supportantoine2013-12-292-10/+8 * Stage supportantoine2013-12-291-8/+5 * Stage supportantoine2013-12-291-3/+2 * Update to 2.40wxs2013-12-292-3/+3 * Stage supportantoine2013-12-281-3/+1 * Stage supportantoine2013-12-281-6/+2 * - Update to 4.1.4jhale2013-12-202-4/+3 * Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]zeising2013-12-164-6/+2 * - Fix the usage of 'python' to get rid of the implicit lang/pythonmva2013-12-081-2/+2 * - Return almost all of my ports back to the pool. I have no time to make anyaraujo2013-11-291-1/+1 * - revert r331810dinoex2013-10-291-3/+2 * - use STAGEDIRdinoex2013-10-281-4/+1 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-263-1/+3 * Support staging.ehaupt2013-10-241-2/+1 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-224-4/+0 * - Convert to stagingeadler2013-10-131-8/+6 * fixed build fail on 10-CURRENTdaichi2013-10-051-0/+6 * - Support stagingjhale2013-10-031-2/+1 * - Update to 4.1.3jhale2013-09-293-4/+8 * - fix misplaced NO_STAGE in slaveports and ifdefsdinoex2013-09-211-1/+1 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-2157-115/+77 * Remove USE_GCC=any: builds properly with clangbapt2013-09-141-1/+0 * Remove USE_GCC=any, builds properly with clangbapt2013-09-141-1/+0 * - Update to 4.1.2jhale2013-09-123-12/+94 * Add explicit dependency on pkgconf (27 ports)marino2013-09-121-1/+1 * Add an explicit dependency on pkgconfantoine2013-09-101-5/+2 * Update to 1.0.7zeising2013-09-082-3/+3 * Add an explicit dependency on pkgconfbapt2013-09-061-2/+1 * Add an explicit dependency on pkgconfbapt2013-09-032-11/+4 * Add an explicit dependency on pkgconfbapt2013-09-031-2/+1 * Two imake related changes:tijl2013-09-022-8/+26 * - Remove MAKE_JOBS_SAFE variableak2013-08-156-6/+0 * Update to 2.39.wxs2013-08-052-3/+3 * - Convert to new perl frameworkaz2013-08-031-1/+2 * Fix build with clangbapt2013-08-011-6/+3 * Fix build with clangbapt2013-08-011-6/+3 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-275-708/+0 * Remove MAKE_JOBS_SAFE which is now default.ehaupt2013-07-241-1/+0 * Update to 2.38.wxs2013-07-092-3/+3 * Update the KDE Software Compilation to 4.10.5.rakuco2013-07-052-4/+4 * Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-032-4/+4 * Convert to USES=imakebapt2013-06-298-49/+19 * New USES imake to handle the dependency on imake.bapt2013-06-286-18/+9 * Add explicit dependency on iconv.zeising2013-06-271-0/+2 * Reset maintaner per Bruce Cran's request.zeising2013-06-271-6/+2 * - Do not try to remove dirs. not created by the portmiwi2013-06-011-3/+0 * The FreeBSD x11 team proudly presentszeising2013-05-252-10/+0 * KDE/FreeBSD team presents KDE SC 4.10.3 ports!makc2013-05-192-4/+4 * - Update to 1.5.0olivierd2013-05-123-5/+4 * - Update MASTER_SITESmiwi2013-05-102-9/+5 * - Bump PORTREVISION after update of x11/libxfce4util, and x11-wm/xfce4-panelolivierd2013-05-093-7/+6 * Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLSbapt2013-05-062-15/+11 * - Trim old-style header.hrs2013-05-033-9/+17 * - Fix build with CLANGsanpei2013-04-291-0/+1 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-281-2/+2 * - Convert USE_GETTEXT to USES (part 3)ak2013-04-253-4/+4 * - Convert USE_GETTEXT to USES (part 1)ak2013-04-242-4/+2 * - Update to 1.0.2olivierd2013-04-243-7/+7 * Finish converting the whole ports tree to USES=pkgconfigbapt2013-04-234-11/+5 * KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-274-10/+9 * - convert USE_CMAKE to USESmakc2013-03-232-2/+2 * Mk/bsd.kde4.mk:makc2013-03-222-2/+2 * Return davide's ports to the pool per request.eadler2013-03-101-6/+2 * Remove indefinite article from COMMENTehaupt2013-03-081-6/+2 * Convert USE_BISON to USES= bisonbapt2013-03-081-6/+2 * - Broken Checksum mismatchmiwi2013-02-231-0/+2 * - Update to 0.6.2olivierd2013-02-153-19/+49 * - Fix build with clangmiwi2013-02-101-5/+7 * KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-044-12/+5 * - add comment for imake problem with clangdinoex2013-01-261-5/+3 * Remove the created by me and update those header at the same time. I nevermezz2013-01-011-5/+0 * - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8beat2012-12-301-0/+3 * 2012-11-27 devel/p5-SPOPS: Depend on the expired p5-Class-Fieldsbapt2012-11-284-38/+0 * - Update to 2.2.2madpilot2012-11-278-80/+491 * Deprecate a bunch of ports that are either abandonware and/or for which no morebapt2012-10-261-5/+4 * 2012-10-20 x11-themes/metacity-ana-theme: No more public distfilesbapt2012-10-265-54/+0 * Update to 2.37wxs2012-10-172-3/+3 * Force numerous ports that fail to build with clang over to instead alwayslinimon2012-10-101-0/+1 * - Reassign to the heap due to mail bouncestabthorpe2012-09-301-6/+2 * - Update to 1.0.0olivierd2012-09-253-7/+8 * Deprecate a bunch a ports with no more public distfiles (thanks ehaupt's dist...bapt2012-09-211-0/+3 * - Update MAINTAINER to my new FreeBSD.org addressjhale2012-09-132-2/+2 * - reset maintainership per maintainerjgh2012-09-071-4/+6 * Mark ports unsafe per wiki page of broken ports.eadler2012-09-031-0/+2 * - Reassign nork@ ports to the heaptabthorpe2012-08-161-1/+1 * Switch from libglut to freeglut and retire libglut. Libglut hasn't beenkwm2012-08-051-1/+1 * Fix typos in COMMENTcs2012-07-291-1/+1 * new devel/pkgconf added to replace devel/pkg-config. new version of pkg-configbapt2012-07-261-1/+1 * For the ports that are maintained by ports@ that have pkgconfig as theirdougb2012-07-231-1/+1 * - reset MAINTAINERdinoex2012-06-261-1/+1 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-153-5/+4 * Add missing dependseadler2012-06-091-1/+2 * - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4miwi2012-06-064-8/+4 * - Update to version 0.4.9.2sylvio2012-06-064-32/+24 * - update png to 1.5.10dinoex2012-06-0120-16/+20 * - Update to 1.0.1miwi2012-05-263-9/+16 * - Bump all XFCE after XFCE importmiwi2012-05-262-1/+2 * KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-257-4/+49 * Update to 2.36wxs2012-04-242-3/+3 * Update to 3.1makc2012-02-223-4/+5 * - Bump PORTREVISION to chase the update of multimedia/libvpxashish2012-02-164-2/+4 * Update to 1.0.3eadler2012-02-112-4/+4 * Update to 1.0.6eadler2012-02-112-3/+3 * Update to 0.6.4rene2012-02-093-3/+5 * The KDE/FreeBSD team is pleased to announce KDE SC 4.7.4, whichavilla2012-01-251-2/+2 * Update to 0.6.3rene2012-01-083-3/+9 * - update to 2.8rm2012-01-062-8/+5 * - X11BASE is going away. Hack the last few ports that depend on X11BASE to no...eadler2011-12-262-1/+2 * - update to 1.0.5eadler2011-11-233-15/+3 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-141-2/+2 * Consistify spelling of "Xfce", and some other projects while there.rene2011-10-274-4/+4 * The vast majority of pkg-descr files had the following format when theydougb2011-10-243-4/+2 * Remove more tags from pkg-descr files fo the form:dougb2011-10-247-19/+0 * Re-assign to the Xfce team.rene2011-10-233-3/+3 * - update to 0.4.0dinoex2011-10-214-6/+30 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-5/+7 * - remove uneeded oaf dependencybapt2011-10-061-2/+2 * Fix build error with clang.vanilla2011-09-281-0/+11 * When not -D BATCH mark IS_INTERACTIVE, make imake dependency unconditionaldougb2011-09-251-6/+7 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-243-4/+3 * - update mkfontscale to 1.0.9eadler2011-09-182-4/+3 * Chase libnotify, libproxy and webkit-gtk2 shlib changes, and fix build where ...kwm2011-08-242-1/+13 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-124-4/+4 * - drop MASTER_SITE_GNUSTEP_CHdinoex2011-08-091-2/+1 * - add new WWWdinoex2011-08-071-0/+1 * - update WWWdinoex2011-08-071-1/+1 * Update broken/outdated WWW entries. Remove those where no alternate source wasehaupt2011-08-051-2/+0 * Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0 * Fix master_sitebapt2011-08-032-2/+2 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-081-1/+1 * Update KDE Software Compilation ports to 4.6.5makc2011-07-081-2/+2 * - - Fix MASTER_SITES & Cleanupmiwi2011-07-021-5/+3 * Fixes build with clangjlaffaye2011-06-291-2/+11 * - Update to 0.6.2miwi2011-06-253-5/+16 * Mark broken some ports with unfetchable distfilesbapt2011-06-17