Exemplo n.º 1
0
        public MainWindow()
        {
            try
            {
                parser = new iniparser(configurations.GetAbsoluteConfigFilePath());
                configurations.SetSettingsFromConfig(parser);
                configurations.LoadIconImages();
                window_manager.load_avatars();
                window_manager.refresh_downloaded_contributions();
                if (configurations.use_existing_thumbnails)
                    window_manager.refresh_thumbnails();

                InitializeComponent();

                this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
                this.Unloaded += new RoutedEventHandler(MainWindow_Unloaded);
                this.Closing += new System.ComponentModel.CancelEventHandler(MainWindow_Closing);

                this.workspace.ManipulationStarting += new EventHandler<ManipulationStartingEventArgs>(workspace_ManipulationStarting);
                this.workspace.ManipulationDelta += new EventHandler<ManipulationDeltaEventArgs>(workspace_ManipulationDelta);
                this.workspace.ManipulationCompleted += new EventHandler<ManipulationCompletedEventArgs>(workspace_ManipulationCompleted);
                ///this.workspace.ManipulationBoundaryFeedback += new EventHandler<ManipulationBoundaryFeedbackEventArgs>(workspace_ManipulationBoundaryFeedback);

                this.workspace.AllowDrop = true;
                SurfaceDragDrop.AddDropHandler(this.workspace, new EventHandler<SurfaceDragDropEventArgs>(item_droped_on_workspace));

                application_panel.PreviewTouchDown += new EventHandler<TouchEventArgs>(application_panel_PreviewTouchDown);
                application_panel.PreviewTouchUp += new EventHandler<TouchEventArgs>(application_panel_PreviewTouchUp);
                //application_panel.PreviewMouseDown += new MouseButtonEventHandler(application_panel_PreviewMouseDown);

                update_change_timer = new Timer(new TimerCallback(update_changes));
                update_change_timer.Change(configurations.update_period_ms, Timeout.Infinite);

                change_update_status(false);
                this.Topmost = configurations.top_most;
            }
            catch (Exception e) { MessageBox.Show("Exception in starting the application:\r\n" + e.StackTrace, "Error"); }
        }
Exemplo n.º 2
0
        public static void SaveConfigurations(iniparser parser)
        {
            parser.SetValue("Locations", "location_dot_diameter", location_dot_diameter);
            parser.SetValue("Locations", "location_dot_color", location_dot_color);
            parser.SetValue("Locations", "location_dot_outline_color", location_dot_outline_color);
            parser.SetValue("Locations", "location_dot_font_color", location_dot_font_color);

            // General variables
            //parser.SetValue("General", "line_break", "\"" + line_break.ToString() + "\"");
            parser.SetValue("General", "log_file", log_file);
            parser.SetValue("General", "contribution_comment_date", contribution_comment_date);
            parser.SetValue("General", "contribution_comment_tag", contribution_comment_tag);
            parser.SetValue("General", "contribution_comment_location", contribution_comment_location);
            parser.SetValue("General", "designidea_date_desc", designidea_date_desc);
            parser.SetValue("General", "designidea_num_desc", designidea_num_desc);
            parser.SetValue("General", "users_date_desc", users_date_desc);
            parser.SetValue("General", "users_num_desc", users_num_desc);
            parser.SetValue("General", "users_no_date", users_no_date);
            parser.SetValue("General", "activities_date_desc", activities_date_desc);
            parser.SetValue("General", "activities_num_desc", activities_num_desc);
            parser.SetValue("General", "frame_title", frame_title);

            // Parameters
            parser.SetValue("Parameters", "high_contrast", high_contrast);
            parser.SetValue("Parameters", "top_most", top_most);
            parser.SetValue("Parameters", "show_update_label", show_update_label);
            parser.SetValue("Parameters", "response_to_mouse_clicks", response_to_mouse_clicks);
            parser.SetValue("Parameters", "enable_single_rotation", enable_single_rotation);
            parser.SetValue("Parameters", "max_num_content_update", max_num_content_update);
            parser.SetValue("Parameters", "max_signup_frame", max_signup_frame);
            parser.SetValue("Parameters", "max_collection_frame", max_collection_frame);
            parser.SetValue("Parameters", "max_image_display_frame", max_image_display_frame);
            parser.SetValue("Parameters", "max_design_ideas_frame", max_design_ideas_frame);
            parser.SetValue("Parameters", "max_activity_frame", max_activity_frame);
            parser.SetValue("Parameters", "max_thread_reply", max_thread_reply);
            parser.SetValue("Parameters", "max_activity_frame_title_chars", max_activity_frame_title_chars);
            //parser.SetValue("Parameters", "thumbnail_pixel_width",thumbnail_pixel_width);
            parser.SetValue("Parameters", "thumbnail_pixel_height", thumbnail_pixel_height);
            parser.SetValue("Parameters", "thumbnail_video_span_seconds", thumbnail_video_span.Seconds);
            parser.SetValue("Parameters", "use_existing_thumbnails", use_existing_thumbnails);
            parser.SetValue("Parameters", "drag_dy_dx_factor", drag_dy_dx_factor);
            //parser.SetValue("Parameters", "drag_dx_dy_factor",drag_dx_dy_factor);
            parser.SetValue("Parameters", "drag_collection_theta", drag_collection_theta);
            parser.SetValue("Parameters", "scroll_scale_factor", scroll_scale_factor);
            parser.SetValue("Parameters", "min_touch_points", min_touch_points);
            parser.SetValue("Parameters", "max_consecutive_drag_points", max_consecutive_drag_points);
            parser.SetValue("Parameters", "tap_error", tap_error);
            parser.SetValue("Parameters", "manipulation_pivot_radius", manipulation_pivot_radius);
            parser.SetValue("Parameters", "use_avatar_drag", use_avatar_drag);
            parser.SetValue("Parameters", "tab_width_percentage", tab_width_percentage);
            parser.SetValue("Parameters", "manual_scroll", manual_scroll);
            parser.SetValue("Parameters", "manual_tap", manual_tap);
            parser.SetValue("Parameters", "right_panel_drag", right_panel_drag);
            parser.SetValue("Parameters", "whole_item_drag", whole_item_drag);
            parser.SetValue("Parameters", "center_commentarea_and_keyboard", center_commentarea_and_keyboard);
            parser.SetValue("Parameters", "multi_keyboard", multi_keyboard);
            parser.SetValue("Parameters", "show_vertical_drag", show_vertical_drag);
            parser.SetValue("Parameters", "show_empty_metadata", show_empty_metadata);
            parser.SetValue("Parameters", "show_all_metadata", show_all_metadata);
            parser.SetValue("Parameters", "use_list_refresher", use_list_refresher);
            parser.SetValue("Parameters", "update_period_ms", update_period_ms);
            parser.SetValue("Parameters", "scaling_mode", scaling_mode);
            parser.SetValue("Parameters", "click_opacity_on_collection_item", click_opacity_on_collection_item);

            // Google Drive
            parser.SetValue("GoogleDrive", "googledrive_directory_id", googledrive_directory_id);
            parser.SetValue("GoogleDrive", "googledrive_client_id", googledrive_client_id);
            parser.SetValue("GoogleDrive", "googledrive_client_secret", googledrive_client_secret);
            parser.SetValue("GoogleDrive", "googledrive_storage", googledrive_storage);
            parser.SetValue("GoogleDrive", "googledrive_key", googledrive_key);
            parser.SetValue("GoogleDrive", "googledrive_refresh_token", googledrive_refresh_token);
            parser.SetValue("GoogleDrive", "googledrive_lastchange", googledrive_lastchange);
            parser.SetValue("GoogleDrive", "googledrive_userfilename", googledrive_userfilename);
            parser.SetValue("GoogleDrive", "googledrive_userfiletitle", googledrive_userfiletitle);
            parser.SetValue("GoogleDrive", "googledrive_ideafilename", googledrive_ideafilename);
            parser.SetValue("GoogleDrive", "googledrive_ideafiletitle", googledrive_ideafiletitle);
            parser.SetValue("GoogleDrive", "download_buffer_size", download_buffer_size); // 10KB = 10 * 1024

            // Paths
            parser.SetValue("Paths", "image_path", image_path);
            parser.SetValue("Paths", "avatar_path", avatar_path);
            parser.SetValue("Paths", "thumbnails_path", thumbnails_path);
            parser.SetValue("Paths", "contributions_path", contributions_path);

            // Files
            parser.SetValue("Files", "background_pic", background_pic);
            parser.SetValue("Files", "drop_avatar_pic", drop_avatar_pic);
            parser.SetValue("Files", "loading_image_pic", loading_image_pic);
            parser.SetValue("Files", "empty_image_pic", empty_image_pic);
            parser.SetValue("Files", "not_found_image_pic", not_found_image_pic);
            parser.SetValue("Files", "sound_image_pic", sound_image_pic);
            parser.SetValue("Files", "video_image_pic", video_image_pic);
            parser.SetValue("Files", "keyboard_pic", keyboard_pic);
            parser.SetValue("Files", "keyboard_shift_pic", keyboard_shift_pic);
            parser.SetValue("Files", "keyboard_caps_pic", keyboard_caps_pic);
            parser.SetValue("Files", "keyboard_numpad_pic", keyboard_numpad_pic);
            parser.SetValue("Files", "close_icon", close_icon);
            parser.SetValue("Files", "change_view_list_icon", change_view_list_icon);
            parser.SetValue("Files", "change_view_stack_icon", change_view_stack_icon);
            parser.SetValue("Files", "collection_window_icon", collection_window_icon);
            parser.SetValue("Files", "signup_icon", signup_icon);
            parser.SetValue("Files", "signup_window_icon", signup_window_icon);
            parser.SetValue("Files", "submit_idea_icon", submit_idea_icon);
            parser.SetValue("Files", "thumbs_up_icon", thumbs_up_icon);
            parser.SetValue("Files", "thumbs_down_icon", thumbs_down_icon);
            parser.SetValue("Files", "keyboard_click_wav", keyboard_click_wav);
            parser.SetValue("Files", "drag_icon", drag_icon);
            parser.SetValue("Files", "drag_vertical_icon", drag_vertical_icon);
            parser.SetValue("Files", "comment_icon", comment_icon);
            parser.SetValue("Files", "reply_icon", reply_icon);

            // Frame
            parser.SetValue("Frame", "frame_width", frame_width);
            parser.SetValue("Frame", "frame_title_bar_height", frame_title_bar_height);
            parser.SetValue("Frame", "frame_icon_width", frame_icon_width);

            // Item
            parser.SetValue("Item", "toolbar_item_width", toolbar_item_width);

            parser.Save(GetAbsoluteConfigFilePath());
        }
Exemplo n.º 3
0
        public static void SetSettingsFromConfig(iniparser parser)
        {
            // locations in MJ's laptop
            //Point p1 = new Point(120, 382); locations.Add(p1);
            //Point p2 = new Point(140, 420); locations.Add(p2);
            //Point p3 = new Point(290, 230); locations.Add(p3);
            //Point p4 = new Point(400, 300); locations.Add(p4);
            //Point p5 = new Point(405, 480); locations.Add(p5);
            //Point p6 = new Point(480, 595); locations.Add(p6);
            //Point p7 = new Point(515, 690); locations.Add(p7);
            //Point p8 = new Point(465, 755); locations.Add(p8);
            //Point p9 = new Point(415, 755); locations.Add(p9);
            //Point p10 = new Point(180, 545); locations.Add(p10);
            //Point p11 = new Point(150, 570); locations.Add(p11);

            // Locations (in tabletop)
            Point p1 = new Point(parser.GetValue("Locations", "P1X", 0), parser.GetValue("Locations", "P1Y", 0)); locations.Add(p1);
            Point p2 = new Point(parser.GetValue("Locations", "P2X", 0), parser.GetValue("Locations", "P2Y", 0)); locations.Add(p2);
            Point p3 = new Point(parser.GetValue("Locations", "P3X", 0), parser.GetValue("Locations", "P3Y", 0)); locations.Add(p3);
            Point p4 = new Point(parser.GetValue("Locations", "P4X", 0), parser.GetValue("Locations", "P4Y", 0)); locations.Add(p4);
            Point p5 = new Point(parser.GetValue("Locations", "P5X", 0), parser.GetValue("Locations", "P5Y", 0)); locations.Add(p5);
            Point p6 = new Point(parser.GetValue("Locations", "P6X", 0), parser.GetValue("Locations", "P6Y", 0)); locations.Add(p6);
            Point p7 = new Point(parser.GetValue("Locations", "P7X", 0), parser.GetValue("Locations", "P7Y", 0)); locations.Add(p7);
            Point p8 = new Point(parser.GetValue("Locations", "P8X", 0), parser.GetValue("Locations", "P8Y", 0)); locations.Add(p8);
            Point p9 = new Point(parser.GetValue("Locations", "P9X", 0), parser.GetValue("Locations", "P9Y", 0)); locations.Add(p9);
            Point p10 = new Point(parser.GetValue("Locations", "P10X", 0), parser.GetValue("Locations", "P10Y", 0)); locations.Add(p10);
            Point p11 = new Point(parser.GetValue("Locations", "P11X", 0), parser.GetValue("Locations", "P11Y", 0)); locations.Add(p11);

            //Point p1 = new Point(parser.GetValue("Locations", "P1X", 800), parser.GetValue("Locations", "P1Y", 1383)); locations.Add(p1);
            //Point p2 = new Point(parser.GetValue("Locations", "P2X", 925), parser.GetValue("Locations", "P2Y", 1499)); locations.Add(p2);
            //Point p3 = new Point(parser.GetValue("Locations", "P3X", 1795), parser.GetValue("Locations", "P3Y", 844)); locations.Add(p3);
            //Point p4 = new Point(parser.GetValue("Locations", "P4X", 2437), parser.GetValue("Locations", "P4Y", 1077)); locations.Add(p4);
            //Point p5 = new Point(parser.GetValue("Locations", "P5X", 2457), parser.GetValue("Locations", "P5Y", 1711)); locations.Add(p5);
            //Point p6 = new Point(parser.GetValue("Locations", "P6X", 2921), parser.GetValue("Locations", "P6Y", 2111)); locations.Add(p6);
            //Point p7 = new Point(parser.GetValue("Locations", "P7X", 3120), parser.GetValue("Locations", "P7Y", 2430)); locations.Add(p7);
            //Point p8 = new Point(parser.GetValue("Locations", "P8X", 2837), parser.GetValue("Locations", "P8Y", 2670)); locations.Add(p8);
            //Point p9 = new Point(parser.GetValue("Locations", "P9X", 2533), parser.GetValue("Locations", "P9Y", 2668)); locations.Add(p9);
            //Point p10 = new Point(parser.GetValue("Locations", "P10X", 1151), parser.GetValue("Locations", "P10Y", 1931)); locations.Add(p10);
            //Point p11 = new Point(parser.GetValue("Locations", "P11X", 969), parser.GetValue("Locations", "P11Y", 2016)); locations.Add(p11);

            location_dot_diameter = parser.GetValue("Locations", "location_dot_diameter", 55);
            location_dot_color = parser.GetValue("Locations", "location_dot_color", Brushes.Crimson);
            location_dot_outline_color = parser.GetValue("Locations", "location_dot_outline_color", Brushes.Crimson);
            location_dot_font_color = parser.GetValue("Locations", "location_dot_font_color", Brushes.White);

            // General variables
            //line_break = parser.GetValue("General", "line_break", "\r\n");
            log_file = parser.GetValue("General", "log_file", "log.txt");
            contribution_comment_date = parser.GetValue("General", "contribution_comment_date", "Taken by: ");
            contribution_comment_tag = parser.GetValue("General", "contribution_comment_tag", "Tags: ");
            contribution_comment_location = parser.GetValue("General", "contribution_comment_location", "Location ");
            designidea_date_desc = parser.GetValue("General", "designidea_date_desc", "Last Update: ");
            designidea_num_desc = parser.GetValue("General", "designidea_num_desc", "Comments");
            users_date_desc = parser.GetValue("General", "users_date_desc", "Last Update: ");
            users_num_desc = parser.GetValue("General", "users_num_desc", "Contributions");
            users_no_date = parser.GetValue("General", "users_no_date", "Just Created");
            activities_date_desc = parser.GetValue("General", "activities_date_desc", "Last Update: ");
            activities_num_desc = parser.GetValue("General", "activities_num_desc", "Contributions");
            frame_title = parser.GetValue("General", "frame_title", "Observations");

            // Parameters
            high_contrast = parser.GetValue("Parameters", "high_contrast", false);
            top_most = parser.GetValue("Parameters", "top_most", false);
            show_update_label = parser.GetValue("Parameters", "show_update_label", false);
            response_to_mouse_clicks = parser.GetValue("Parameters", "response_to_mouse_clicks", true);
            enable_single_rotation = parser.GetValue("Parameters", "enable_single_rotation", true);
            max_num_content_update = parser.GetValue("Parameters", "max_num_content_update", 12);
            max_signup_frame = parser.GetValue("Parameters", "max_signup_frame", 5);
            max_collection_frame = parser.GetValue("Parameters", "max_collection_frame", 10);
            max_image_display_frame = parser.GetValue("Parameters", "max_image_display_frame", 10);
            max_design_ideas_frame = parser.GetValue("Parameters", "max_design_ideas_frame", 10);
            max_activity_frame = parser.GetValue("Parameters", "max_activity_frame", 10);
            max_thread_reply = parser.GetValue("Parameters", "max_thread_reply", 3);
            max_activity_frame_title_chars = parser.GetValue("Parameters", "max_activity_frame_title_chars", 10);
            //thumbnail_pixel_width = parser.GetValue("Parameters", "thumbnail_pixel_width",100);
            thumbnail_pixel_height = parser.GetValue("Parameters", "thumbnail_pixel_height", 100);
            thumbnail_video_span = new TimeSpan(0, 0, parser.GetValue("Parameters", "thumbnail_video_span_seconds", 2));
            use_existing_thumbnails = parser.GetValue("Parameters", "use_existing_thumbnails", true);
            drag_dy_dx_factor = parser.GetValue("Parameters", "drag_dy_dx_factor", 2.1);
            //drag_dx_dy_factor = parser.GetValue("Parameters", "drag_dx_dy_factor",1.0);
            drag_collection_theta = parser.GetValue("Parameters", "drag_collection_theta", 5);
            scroll_scale_factor = parser.GetValue("Parameters", "scroll_scale_factor", 5);
            min_touch_points = parser.GetValue("Parameters", "min_touch_points", 2);
            max_consecutive_drag_points = parser.GetValue("Parameters", "max_consecutive_drag_points", 5);
            tap_error = parser.GetValue("Parameters", "tap_error", 5);
            manipulation_pivot_radius = parser.GetValue("Parameters", "manipulation_pivot_radius", 20.0);
            use_avatar_drag = parser.GetValue("Parameters", "use_avatar_drag", false);
            tab_width_percentage = parser.GetValue("Parameters", "tab_width_percentage", 17);
            manual_scroll = parser.GetValue("Parameters", "manual_scroll", false);
            manual_tap = parser.GetValue("Parameters", "manual_tap", false);
            right_panel_drag = parser.GetValue("Parameters", "right_panel_drag", true);
            whole_item_drag = parser.GetValue("Parameters", "whole_item_drag", false);
            center_commentarea_and_keyboard = parser.GetValue("Parameters", "center_commentarea_and_keyboard", false);
            multi_keyboard = parser.GetValue("Parameters", "multi_keyboard", false);
            show_vertical_drag = parser.GetValue("Parameters", "show_vertical_drag", true);
            show_empty_metadata = parser.GetValue("Parameters", "show_empty_metadata", false);
            show_all_metadata = parser.GetValue("Parameters", "show_all_metadata", false);
            use_list_refresher = parser.GetValue("Parameters", "use_list_refresher", false);
            update_period_ms = parser.GetValue("Parameters", "update_period_ms", 20000);
            scaling_mode = parser.GetValue("Parameters", "scaling_mode", BitmapScalingMode.Fant);
            click_opacity_on_collection_item = parser.GetValue("Parameters", "click_opacity_on_collection_item", 0.8);

            // Google Drive
            googledrive_directory_id = parser.GetValue("GoogleDrive", "googledrive_directory_id", "0B9mU-w_CpbztUUxtaXVIeE9SbWM");
            googledrive_client_id = parser.GetValue("GoogleDrive", "googledrive_client_id", "333780750675-ag76kpq3supbbqi3v92vn3ejil8ght23.apps.googleusercontent.com");
            googledrive_client_secret = parser.GetValue("GoogleDrive", "googledrive_client_secret", "bCYIAfrAC0i-qIfl0cLRnhwn");
            googledrive_storage = parser.GetValue("GoogleDrive", "googledrive_storage", "gdrive_uploader");
            googledrive_key = parser.GetValue("GoogleDrive", "googledrive_key", "z},drdzf11x9;87");
            googledrive_refresh_token = parser.GetValue("GoogleDrive", "googledrive_refresh_token", "1/jpJHu8br2TnnM5hwCqgFe-yagf6zixlDZrlUvdXZ9s8");
            googledrive_lastchange = parser.GetValue("GoogleDrive", "googledrive_lastchange", configurations.googledrive_lastchange);
            googledrive_userfilename = parser.GetValue("GoogleDrive", "googledrive_userfilename", "Users.txt");
            googledrive_userfiletitle = parser.GetValue("GoogleDrive", "googledrive_userfiletitle", "Users");
            googledrive_ideafilename = parser.GetValue("GoogleDrive", "googledrive_ideafilename", "Ideas.txt");
            googledrive_ideafiletitle = parser.GetValue("GoogleDrive", "googledrive_ideafiletitle", "Ideas");
            download_buffer_size = parser.GetValue("GoogleDrive", "download_buffer_size", 10240); // 10KB = 10 * 1024

            // Paths
            image_path = parser.GetValue("Paths", "image_path", ".\\images\\");
            avatar_path = parser.GetValue("Paths", "avatar_path", ".\\images\\avatars\\");
            thumbnails_path = parser.GetValue("Paths", "thumbnails_path", ".\\images\\thumbnails\\");
            contributions_path = parser.GetValue("Paths", "contributions_path", ".\\images\\contributions\\");

            // Files
            background_pic = parser.GetValue("Files", "background_pic", "background.png");
            drop_avatar_pic = parser.GetValue("Files", "drop_avatar_pic", "drop_avatar.png");
            loading_image_pic = parser.GetValue("Files", "loading_image_pic", "loading_image.png");
            empty_image_pic = parser.GetValue("Files", "empty_image_pic", "empty_image.png");
            not_found_image_pic = parser.GetValue("Files", "not_found_image_pic", "not_found_image.png");
            sound_image_pic = parser.GetValue("Files", "sound_image_pic", "sound_image.png");
            video_image_pic = parser.GetValue("Files", "video_image_pic", "film.png");
            keyboard_pic = parser.GetValue("Files", "keyboard_pic", "NN_Keyboard_v2.png");
            keyboard_shift_pic = parser.GetValue("Files", "keyboard_shift_pic", "NN_Keyboard_v2_shift.png");
            keyboard_caps_pic = parser.GetValue("Files", "keyboard_caps_pic", "NN_Keyboard_v2_caps.png");
            keyboard_numpad_pic = parser.GetValue("Files", "keyboard_numpad_pic", "NN_Numpad.png");
            close_icon = parser.GetValue("Files", "close_icon", "close.png");
            change_view_list_icon = parser.GetValue("Files", "change_view_list_icon", "change_view_list.png");
            change_view_stack_icon = parser.GetValue("Files", "change_view_stack_icon", "change_view_stack.png");
            collection_window_icon = parser.GetValue("Files", "collection_window_icon", "collection_window_icon.png");
            signup_icon = parser.GetValue("Files", "signup_icon", "signup.png");
            signup_window_icon = parser.GetValue("Files", "signup_window_icon", "signup_window_icon.png");
            submit_idea_icon = parser.GetValue("Files", "submit_idea_icon", "submit_idea.png");
            thumbs_up_icon = parser.GetValue("Files", "thumbs_up_icon", "tu.jpg");
            thumbs_down_icon = parser.GetValue("Files", "thumbs_down_icon", "td.jpg");
            drag_icon = parser.GetValue("Files", "drag_icon", "drag.png");
            drag_vertical_icon = parser.GetValue("Files", "drag_vertical_icon", "drag_vertical.png");
            comment_icon = parser.GetValue("Files", "comment_icon", "comment.png");
            reply_icon = parser.GetValue("Files", "reply_icon", "reply.png");
            keyboard_click_wav = parser.GetValue("Files", "keyboard_click_wav", "click.wav");

            // Frame
            frame_width = parser.GetValue("Frame", "frame_width", 300);
            frame_title_bar_height = parser.GetValue("Frame", "frame_title_bar_height", 40);
            frame_icon_width = parser.GetValue("Frame", "frame_icon_width", 40);

            // Item
            toolbar_item_width = parser.GetValue("Item", "toolbar_item_width", 30);
        }
Exemplo n.º 4
0
 public static void SaveChangeID()
 {
     iniparser parser = new iniparser(GetAbsoluteConfigFilePath());
     parser.SetValue("GoogleDrive", "googledrive_lastchange", configurations.googledrive_lastchange);
     parser.Save(GetAbsoluteConfigFilePath());
 }